Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

Native iOS Drag and Drop
From my understanding, there is currently no way to implement native iOS Drag and Drop (dragging between apps, etc) for the iPad on Flutter.Is there any way to do this? My best guess is using some sort of PlatformView, which seems... inconvenient at best.Any ideas are appreciated! Thanks!

February 19, 2020 at 12:31PM by AgentShadowDark
https://ift.tt/2wvVCCT
New post on /r/flutterdev subreddit:

How to create a floating bottom navigation bar in Flutter
Hello, I am a beginner at flutter and dart and have been wondering if it's possible to create a bottom navigation bar that is a floating oval shape?I tried to customize the BottomNaviagationBar to be a container and it worked, but not really as I want it to float over the content of the page rather than take up the whole bottom section of the page.Attached below is the idea that I want to create:
https://i.stack.imgur.com/Zypcc.pngThis is my code:
class HomePage extends StatefulWidget {
u/override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
int _currentIndex = 0;final List<Widget> _pages = [
FeedsPage(), 
SearchPage(),
NotificationsPage(), 
ProfilePage(),
AddPostPage()
  ];
void onTabTapped(int index) {
setState(() {
      _currentIndex = index;
    });
  }
u/override
Widget build(BuildContext context) {
return Scaffold(
      body: _pages[_currentIndex],
      bottomNavigationBar: Container(
        margin: EdgeInsets.only(bottom: 30.0, left: 10.0, right: 10.0),
    constraints: BoxConstraints.tightFor(height: 70.0),
    child: Material(
      borderRadius: BorderRadius.circular(35),
      color: Colors.white,
      elevation: 5.0,
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        children: <Widget>[
IconButton(
              icon: Icon(
OMIcons.home,
                color: Colors.black54,
                size: 30.0,
              ),
              onPressed: () {
onTabTapped(0);
              }),
IconButton(
              icon: Icon(
OMIcons.search,
                color: Colors.black54,
                size: 30.0,
              ),
              onPressed: () {
onTabTapped(1);
              }),
SizedBox(
            width: 10.0,
          ),
IconButton(
              icon: Icon(
OMIcons.notifications,
                color: Colors.black54,
                size: 30.0,
              ),
              onPressed: () {
onTabTapped(2);
              }),
IconButton(
              icon: Icon(
OMIcons.person,
                color: Colors.black54,
                size: 30.0,
              ),
              onPressed: () {
onTabTapped(3);
              }),
        ],
      ),
    ),
  ),
  floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
  floatingActionButton: FloatingActionButton(
    backgroundColor: Color(0xffbbd1c5),
    onPressed: () {
onTabTapped(4);
              },
    child: Icon( 
Icons.add,
      color: Colors.white,
    ),
  ),
    );
  }
}I really would appreciate your help

February 19, 2020 at 04:55PM by RaghadAlwohibi
https://ift.tt/2V5UhwY
New post on /r/flutterdev subreddit:

How can I write an app that use Cupertino widgets on iOS and Material widgets on Android in the same code base?
So Flutter offers 2 different sets of widgets, Material for Android and Cupertino for iOS. I've started to write an app that adopts the native look & feel for each platform.So basically, I have:A root widget MaterialApp and some Scaffold widgets on AndroidA root widget CupertinoApp and some CupertinoPageScaffold widgets on iOSInside my pages, I have a lot of widgets in common, and a lot of platform-specific widgets as well (like CircularProgressIndicator/CupertinoActivityIndicator).In React Native there is a mecanism to import platform-specific files, as well as a Platform API to conditionally render something depending on the platform.How do I do that in Flutter, what are the best practices? Should declare 2 widgets per file and call the right one?But even with that, how do I pick the right one in the entry-point (runApp function)?

February 19, 2020 at 05:43PM by ncuillery
https://ift.tt/38NRFb6
New tweet from FlutterDev:

Are your ListViews too boring?

There's always ListWheelScrollView! It renders the items as if they're on a cylinder, making them look like they're turning on a wheel.

More #WidgetoftheWeek here &rarr; https://t.co/0ltNvHZ6Zn pic.twitter.com/VNCA8PJ7GG— Flutter (@FlutterDev) February 19, 2020

February 19, 2020 at 07:38PM
http://twitter.com/FlutterDev/status/1230199940191621120
New post on Flutter Dev Google group:

firebase_crashlytics for iOS not implemented?
Hi everyone! I was wondering if anyone got firebase_crashlytics working for iOS? The plugin has a turtorial on how to set it up for both Andorid and iOS but me and some other can't get it to work for iOS. I have created an issue in the repo, but since there is a description on how to set it up,

February 19, 2020 at 07:57PM by Viktor Morin
https://ift.tt/326Phto
New post on /r/flutterdev subreddit:

Instagrams new DM gradient effect
Instagram has added a new gradient to the chat bubbles and the gradient changes based on the position of the list item, how can this be achieved in flutter?

February 19, 2020 at 07:43PM by il3g3ndry-ws
https://ift.tt/3bNGYae
New post on /r/flutterdev subreddit:

How do I implement this? Help
https://ift.tt/39I1o2u

February 19, 2020 at 11:31PM by A-PRYME
https://ift.tt/38K8uDz
New post on Flutter Dev Google group:

I would need advice
I've to port an Xcode product catalog app to Flutter can you recommend me an extension that will help me manage the image grid? Below on video my product navigation on Xcode app https://youtu.be/g99JFhd7pWc Thanks Mauro

February 20, 2020 at 12:31AM by Mauro Miotello
https://ift.tt/32btvEO
New post on /r/flutterdev subreddit:

MedKit - Pharmacy App
Here is my first app in Flutter, I participated in Flutter Hackthon for my Country.Here is the source code: https://github.com/m-hamzashakeel/MedKit-Pharmacy-App-Using-FlutterHere's the link to App: https://devpost.com/software/medkit-pharmacy-in-your-hands#updatesAnd please give it a like or comment if u think I deserved!Thanks Everyone and Happy Fluttering 💕

February 20, 2020 at 03:36AM by m_hamzashakeel
https://ift.tt/2V6cpXf
New post on Flutter Dev Google group:

App to manage smart lights and smart appliances
Hi, I want to develop a app having functionalities to control smart led lights (Wifi / Bluetooth) and speakers. Is there any plugin/API available in flutter?

February 20, 2020 at 07:17AM by Rahul Goyal
https://ift.tt/3bPeb53
New post on Flutter Dev Google group:

I Have a form Key But Flutter Still Gives Me An Error When Running Validate
Hi, I have created a form key final _formKey = GlobalKey
New post on Flutter Dev Google group:

System Colors with Flutter
Dearest. How to get system colors with Flutter? PropertyDescriptionExample ActiveBorder Active window border ActiveCaption Active window caption AppWorkspace Background color of multiple document interface Background Desktop background ButtonFace Face color for 3D display elements ButtonHig

February 20, 2020 at 01:11PM by Alexander Salas Bastidas
https://ift.tt/2ubijvc
New post on /r/flutterdev subreddit:

Does Flutter support ipadOS?
Any updates recently?

February 20, 2020 at 01:02PM by monkeyantho
https://ift.tt/2SJLEqg
New post on /r/flutterdev subreddit:

Your source of mobile UI design reference
Relatively new mobile app developer here. Switched from C/C++ domain. I have learnt to develop apps in Android and flutter. But, I lack the push to start developing an app. I feel a mobile app developer should be a good designer as well. How do you guys start your app development? Do you have any source of inspiration? Any online course / book to learn UI design is most welcome. Thanks.

February 20, 2020 at 01:44PM by the_super_one
https://ift.tt/38JxSJR
New post on Flutter Dev Google group:

App redraws widgets on resume
I've asked related question before, but found the real cause of the issue and thought to start new thread. My app opens html files from Android either from email or file system. I am using MethodChannel to communicate between Android Platform and Flutter - MainActivity.java