Flutter - Hiding FloatingActionButton

Is there any built in way in Flutter to hide a FloatingActionButton on ListView scrolling down and then showing it on scrolling up?

Flutter: Scrolling to a widget in ListView

How can I scroll to a special widget in a ListView? For instance I want to scroll automatically to some Container in the ListView if I press a specific button. ListView(children: <Widget>[ ...

How to change TextField's height and width?

How to customise TextField's width and height?

What is the alternative to RecyclerView in Flutter?

What is the alternative to Recycle view in flutter I have tried using this code but how to do Animination with listview widget in flutter Is this valid? ListView( children: <Widget>[ ListTile( ...

How to refresh an AlertDialog in Flutter?

Currently, I have an AlertDialog with an IconButton. The user can click on the IconButton, I have two colors for each click. The problem is that I need to close the AlertDialog and reopen to see...

Change position of a Flutter Snackbar

I want to display a simple disappearing error message above a button when certain conditions aren't met. It seems as if Flutter's Snackbar is well suited to this purpose. However, I'm having...

Space between Column's children in Flutter

I have a Column widget with two TextField widgets as children and I want to have some space between both of them. I already tried mainAxisAlignment: MainAxisAlignment.spaceAround, but the result...

RenderCustomMultiChildLayoutBox object was given an infinite size during layout. flutter error

I am new to flutter and am trying to implement custom list view in flutter. Its giving be RenderCustomMultiChildLayoutBox object was given an infinite size during layout error I am not able to...

Flutter: change the width of an AlertDialog

I wonder how to change the default width of an AlertDialog, I only succeeded to change the border radius : Here is my code : showDialog( context: context, builder: (_) => ...

Why CustomClipper is not working suddenly?

I'm studying clipping image as curve, but CustomClipper is not working suddenly. Only clipper property of IreneClipper not works. How can I fix it? import 'package:flutter/material.dart'; void...

How to display more than one page with PageView?

I have an app that use PageView and I want to make it responsive – such that on a tablet, it shows 3 pages and with a smartphone, it shows only one: How can I change the number of pages shown...

How to center two Texts in Flutter

I have the next widget: class PoinstsDisplayState extends State<PoinstsDisplay> { @override Widget build(BuildContext context) { return new Container( width:...

Flutter -- Will Cupertino widgets works on android

I have an issue where I need to use tab navigation. The current material scaffold only has 1 stack. So, If I need to go several levels deep (child pages) then I lose the tab context. The Cupertino...

Flutter: How to minimize width of DropdownButton

The DropdownButton in Flutter sets its width based on the largest DropdownMenuItem from the items it has. That leaves a lot of white space between the item and the arrow if a small item is...

How to animate border for a container in flutter

I want to animate the border for my container with a glowing effect in flutter, do you have any idea ?

How to handle ListView scroll direction

I have a dummy list of items I want to show a floating action button in swip up direction and hide it in down direction. how can I implement this functionality ? class _MyHomePageState extends...

Flutter - How to open full screen keyboard in landscape mode

How can I open a full screen keyboard in landscape mode like the one in the attached screenshot. I tried adding my TextFields in SingleChildScrollView but it doesn't work for dialogs and my...

How to get safe area size/padding in Flutter

I'm using a SafeArea Widget and want to extract the height of the bottom area which is not within the safe area. As recommended in other sources I tried using MediaQuery.of(context).padding but it...

How to get Flutter ScrollController to save position of ListView.builder() when changing tabs?

I have made a simple example with 2 tabs, each containing a ListView builder. My goal is to be able to scroll in the first list view, switch to the 2nd tab, and then switch back to the first and...

How to use data from Provider during initState in Flutter application

I am refactoring my Flutter application code by adding Provider as a state management. Desired behavior: When Home screen opens, app should check if users email verified, if it's not then should...

How to create tinder like stacked cards in Flutter?

I want to create swipeable tinder-like cards in flutter which can call some function on left or right swipe but it seems too complicated to do so in Flutter. Right now I have implemented the...

FLUTTER CircleAvatar not displaying network image

I am trying to display a network image of mario in a circleavatar using flutter. Nothing is displaying and no errors are returned. Please help! This is my code (Indents are screwed...

Unhandled Exception: Cannot hit test a render box with no size

so I am trying to recreate a UI template. This is the code. I'm trying to add another Horizontal GridView by calling RecentlyViewed() but upon reloading it cannot render. I don't know the way to...

How to stop pinned SliverAppBar from covering floating SliverPersistentHeader

I'm learning Flutter and I am currently trying to make a home page with a cool scrolling effect. I'm trying to implement a CustomScrollView with 3 elements: a SliverAppBar, a horizontal scrolling...

Listview.builder inside Sliver

I had a List of dynamic List of ListTile widgets and I wanted to load it lazily, i.e. ListTile will be built only when the user scrolls to that position. And I achieved it using...

Flutter rounded TabBar border indicator

I spent way too many hours searching for a similar solution but it seems that nobody on earth is implementing such design. I want to indicate selected TabBar Tab with such indicator: Currently it...

flutter error: This widget has been unmounted, so the State no longer has a context (and should be considered defunct)

when I clicking on login button when my mobile number is wrong then open one error dialog box after that when I clicked okey on dialog box then i got this error. I got this message This widget has...

error: Undefined name 'context' in flutter

I am a beginner with flutter, I had just started a few days ago. I want to go from one page to another page . But when I use the navigator it shows an error. I've tried to solve it using some...

How to add Select All and Deselect all button to the following code in flutter?

I am a beginner and still learning flutter, and unable to add the select all/deselect all button Can anyone help me? I have a list of items and I want to add the Select All/Deselect All button to...

Convert GPS Coordinates to Match Custom 2d outdoor layout Image

I don't know if this is possible, but I am trying to take the image of a custom outdoor football field layout and have the players' GPS coordinates correspond to the image xand y position. This...