Category "flutter-layout"

Persistent Bottom Nav Bar, How can I use that in another page that is not included in bottom navigation bar screens?

I am using persistent_bottom_nav_bar 4.0.2 for implement bottom navigation bar though out the app. It actually works fine with bottom navigation bar items and r

How to Auto New Line if a text overflows flutter

Hello right now I am making Quran App.. I am fetching data from json file.I would like to ask how do I create a new line if it overflows like in the picture? I

Flutter DropdownButton - Add title for separating items

Im trying to implement a DropdownButton that can separate specific items from each other with a title (see desired output on image below, the titles are in gree

Error when hitting the back button in camera

getting this issue when we click on back camera while using the app .. any one could you please find and send the solution to this issue in flutter Exception ha

Flutter Scrollcontroller maxScrollExtent doesn't go till the end of list

it stops before last element in list. Is there a way to go till the end container of the last element controller ..animateTo(

Scroll listener doesn't work for listview inside a SingleChildScrollView Flutter

I'm currently working on a project which requires a listview as a child of ScrollView. I added a scroll controller in the listview and a scroll listener in the

Flutter ExpansionTile Extention button placement

I have a container which i want to expand one i click the down arrow button. If you look in this picture (https://gyazo.com/eeaa9fb8d3f93d5f6f190ced2389e2e1), y

The method 'of' isn't defined for the type 'ThemeProvider'. in Flutter

I am Beginner to Flutter just following the YouTube tutorial on building User Profile while doing everything is OK but Theme Provider gave me the error I didn't

flutter arabic justified alignment not working

I'm developing a quran app with flutter and i've done most of the work. but when it comes to the proper alignment it doesn't work. output image is here I'm doin

Flutter - Media Query for keyboard height always returns zero

I'm trying to subtract the height of the keyboard from the height of the screen so I can apply that value to the height property of my listview container. This

Flutter Transform translate a widget from current position to another position

If I want to translate any Widget in my flutter app, I will use below code. Transform.translate() Translate function required Offset (dx,dy). But I want to f

How to solve "Invalid image data" error in Flutter

I'm using SQLite for storing data locally. insert an image as a string and get them to show here is the error that occurs _Exception (Exception: Invalid image d

Refresh Indicator not working with NestedScrollView

@override Widget build(BuildContext context) { super.build(context); SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values); return Anno

Flutter Duplicate Global Key detected on widget tree

I have this issue when implementing flutter's showcaseview despite following its official documentation. The errors I get have to do with a duplicate global sta

Wrapping text inside a circle (Flutter)

is it possible to wrap text inside a circle in Flutter? Here is a failed example. Ideally the text would fit inside the circle and overflow at the end only. Cl

Vertical divider inside ListTile header

I am attempting to add vertical divider between the leading portion and the title of a ListTile. I understand that Flutter now has a VerticalDivider widget,

In Flutter, why does the DraggableScrollableSheet show blank space when there are less children?

I want the DraggableScrollableSheet to stop moving up when there are less items in the ListView. Instead, blank space is created underneath to fill the entire s

Flutter - TextFormField expand not working properly

I'm trying to create my own TextFieldForm to use in my app by specific design and I have some troubles in order to expand it if it's the case. Currently, it loo

Flutter expansion tile remove trailing

i have a exoansiontile and i want it to be like a box, everything centered, the problem is that if i add a text that is too long, i get the overflow error and i

How to set Flutter AppBar Transparent without the Status bar

I tried to set a transparent appbar using. return Scaffold( extendBodyBehindAppBar: true,       appBar: AppBar(   &nbs