Category "flutter-layout"

How to get gradient bottom navigation tab in flutter?

There is a package on pub https://pub.dev/packages/gradient_bottom_navigation_bar but this is not updated for a very long time. So, is there a way to create ow

Flutter Dismiss Alert Dialog Navigation Issue

I am currently trying to navigate back to the existing screen from an opened alert dialog box. When I try to do so using this code: onPressed: () => Na

How to change the position of a dialogue box Flutter

I have created a dialogue box which displays when a number exists in Firestore when registering a new user. However by default Android seems to be positioning t

Flutter : How to Automaticallly scroll to end of SingleChildScrollView

I have a SingleChildScrollView, its scrollDirection is set to Horizontal with 5 child widgets placed inside a Row Widget. I want to programmatically scroll to t

How to Share Image from API(URL) in flutter?

Here I want to share image which I get through API. I tried different method for this functionality but I did not get any solution because every solutions have

Parse string to widget in Flutter

I want to parse the following string to its equivalent Flutter widgets: String fetchedFromServer = ''' Container( child: Text("Hello") ) '''; I want to r

Material Design drawer not showing in Flutter Web

I am trying to figure out why the drawer widget is not rendered in my Flutter Web page. import 'package:responsive_builder/responsive_builder.dart';

Web view page is empty if clicks the back arrow in flutter?

I have a WebView page with multiple links. By clicking the links it will open another WebView page with a close button. If I click the close button, the current

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