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

Is there a complete tutorial for implementing Real-time location tracking?
It's an urgent need to deliver a project at my workplace and I've never worked with anything tracking related before.Thank you

February 18, 2020 at 09:59PM by dumbledayum
https://ift.tt/2vK5TuV
New post on /r/flutterdev subreddit:

How I created Infinity Clock for Flutter Clock Challenge
https://ift.tt/2SEBwPj

February 18, 2020 at 08:21PM by codinglatte
https://ift.tt/2vNBnjv
New post on /r/flutterdev subreddit:

How do I make bottomNavigationBar work with DefaultTabBar?
I have a problem working with DefaultTabBar and BottomNavigationBar. When I Slide left/right on the screen to go to the first/next page, the BottomNavigationBar dosen't update. How can I make it update?It would be awesome if you could show some example code on how to do it.

February 18, 2020 at 09:49PM by I_Am_No_Good2
https://ift.tt/2UYBoMl
New post on /r/flutterdev subreddit:

Weekly Questions Thread - February 18, 2020
This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Also the Flutter.dev getting started tutorial and the Flutter Cookbook should have the answers to most simple questions. Examples of questions:How do I send data to a new screen?Does anyone have a link to the source for the Flutter Gallery app?How do I change the application launcher icon in Flutter?Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.Have a question about the subreddit or otherwise for /r/FlutterDev mods? We welcome your mod mail!Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Fridays.Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

February 18, 2020 at 11:32PM by AutoModerator
https://ift.tt/2vJ3FvF
New post on /r/flutterdev subreddit:

Backend url or direct query to the db?
As per title, what are the pros and cons of having specific backend (like Go) in hosting the Rest Api and give in json compared to querying (crud) directly to the db using dart/flutter? Any performance impact on the latter?

February 19, 2020 at 03:28AM by hakim131
https://ift.tt/2wopFfz
New post on /r/flutterdev subreddit:

Two weeks without a video on the youtube channel
Is Google gonna kill Flutter?

February 19, 2020 at 04:04AM by FinchoDM
https://ift.tt/39Mxfz0
New post on /r/flutterdev subreddit:

flutter firestore query
I have a collection in my firestore DB, and in this collection not all documents have exactly the same fields . for example, some have the field 'Pills' and some don't.how do I get only the documents that contain this field (the value doesn't matter)?

February 19, 2020 at 09:57AM by lironiz
https://ift.tt/326KuYV
New post on /r/flutterdev subreddit:

Can we build an app without a single Stateful Widget?
I am using Provider for state management. So I wonder do I need to implement any stateful widget? Will there be any performance issue if not? What is the best practice of state management while developing a complex app?

February 19, 2020 at 10:43AM by jijo0465
https://ift.tt/2SF0AFV
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