Category "flutter-layout"

Flutter Snackbar on screen initState

Three Questions: How to load snackbar in flutter in initState or when app loads the initial screen? I have the code below but it throws an error and doesn't loa

Ripple effect does work for long press in List tile

I wrapped List tile widget with gesture widget because I want to execute some code on onLongPressStart and onLongPressEnd Call back. But due to this the ripple

How can I have rounded corner on my Dismissible widget?

I'm currently developing a widget that needs to have rounded corners, but whenever I'm dragging my Dismissible widget from left to right, the Dismissible widget

dart - How to listen for Text-Change in Quill text Editor (Flutter)

I am only familiar with HTML/CSS/JS, and basics of dart/flutter Developer Level: Beginner Project type & language: I am developing a notes app for myself, u

Widgets not rendered when building Flutter apk

So I've been working on flutter for quite some time but recently, after i changed my laptop, I encountered a strange problem. When i run the app in debug mode o

TabBarView within Scrollable Page

I am having real trouble getting a layout to work within Flutter. The layout I am trying to create: A ListView that contains a: A Container. A TabBar. A TabBarV

Remove default padding or margin on Bottom Navigation Bar from Flutter

This is the picture of the problem, is it a default padding on Bottom Navigation Bar? If it is, how can I remove it? As you can see in the code below, I have a

how to draw over other apps in flutter?

I want to show alert box or pop up even my flutter app is closed. similar to this picture

Flutter: Dart Error: RangeError (index): Invalid value: Only valid value is 0: 1

Hey guys I am new to Flutter and trying to build a variation selector for an eCommerce application. I am getting this error while trying to build a size variati

Flutter: How to add a widget on the left, and another one in the centre of a row

I want to align a Text widget to the centre of a row, and I also want a Button widget on the left, on the same row. The text widget is surrounded with an expand

Flutter Android Notification Icon (Grey Square)

I'm using flutter_local_notifications and everything is ok on debug mode but when I checked it on my phone with release mode the icon is turning grey square. I

Open drawer when using BackdropAppBar

I am using the BackdropAppBar package and would like to open the drawer programmatically from the leading icon using something like that : _scaffoldKey.currentS

How to add red asterisk in label of TextFormField In Flutter

As we are not able to make widget like RichText/Text Span For styling TextFormField, Can anyone help me out regarding this... Now Getting:- Expected Result:-

3d Models are not properly showing by the "flutter_cube: ^0.0.4" in flutter

It is not showing proper 3d models it shows only the shadow of the models. How I am wrong or How it will show the same models? Both pictures are here real mode

Add mandatory(*) for labelText in Input Decoration in Flutter

I want to add asteric sign in InputDecoration labelText and change color(like red) of it so that user understand easily this field is required. TextField(