Category "flutter-layout"

How to redraw only single widget in flutter?

No render all widgets. only render one widget. Means not called build method because it's render all widgets. Thanks for giving me your important time.

Padding issue with parent Container Widget?

How can i match parent widget size? I want to have list features in Grid builder, Same time Grid's child widget size should match with parent widget. Grid shoul

Flutter: Is it possible to set vertical alignment in text lines at height> 1.0?

All texts in Figma have some height, for example 1.5, but when I set that height to the TextStyle, all lines with the new height are aligned to the bottom. If

Page level scrolling per TabBarView with widgets on top

I would like to implement the following behavior in Flutter for web where scrollbars allow to scroll all the way up and down of the page on any of the tabs. Scr

TabBar icon color change animation

How to apply the same color change animation that's applied to TabBar text (label) to the icon at the same time, instead of instant changing the color of the ic

How to remove space after Transform.translate in CustomScrollView?

Help me, any idea how to remove the space between yellow and green Container? It's caused by the Container have additional height after transform translate. I n

Flutter Search Delegate Taking Full Width

I made a master-detail type view app using flutter, running on flutter desktop. I implemented the SearchDelegate on appBar, but it takes the full width of the a

RenderFlex overflowing in NavigationRail and NavigationRailDestination on window-resizing

How to fix RenderFlex overflowing in NavigationRail and NavigationRailDestination, when resizing the Desktop window? Flutter 2.11.0-0.0.pre.794 • channel m

How to make gradient button in Flutter

I am new to Flutter and I want to make like this gradient button in Flutter. you can also give tutorials to make this type of button. I want that gradient on th

How to create a screenshot taking application using Flutter?

I am thinking of making a Screenshot application using Flutter. The features of the screenshot application will be: Creating a floating button, that can float/d

Error: RenderBox was not laid out, Failed assertion: line 1940 pos 12: 'hasSize'

I can't fix this error RenderBox was not laid out: RenderPointerListener#2b92a relayoutBoundary=up9 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE 'package:flutter/

how to border radius to navigation bar flutter

I want circular borders on the top left and right in my navigation bar. below I have mentioned my bottom navigation bar code. how can I DO THAT? Appreciate your

How to make drag and drop from drawer in Flutter

I've provide the code. So the dragable widget is in the drawer and the drag target is in the home screen. But when I drag the container to put it in the drag ta

Hover Color for Icon

I am trying to implement a favorite Button in Flutter. I am happy with the properties when clicking the button but I am not happy with the hover animation. I wa

Undefined class 'CurrentUser'

CurrentUser is undefine I am trying to figure out what has it changed to.If you know plz help It's says Could not find the correct Provider above this Screen Wi

How to remove Grey box from Picker Flutter widget

I am using flutter_picker: ^2.0.0 plugin. And could not find option to remove grey box from Picker. Here is my code :- Picker( itemExtent: 50, magni

How To Copy text from a flutter button class while adding additional texts to clipboard?

ive created a custom button that I use in multiple places in my flutter app. and I've also used the toast package to copy and show text anytime the button is cl

How do you center two texts in containers inside a row widget?

How do you center two texts in containers inside a row widget?

Container margin not transparent

In my flutter project i have an AnimatedContainer which is my BottomAppBar. If i give it a margin to space it from the screen egdes the margin is not transparen

Flutter web ignore resize

I would like to make my web app does not resize/responsive when the screen become smaller. For example when i decrease my browser size, instead of its adapting