Questions tagged [flutter-design]

Questions relating to design oriented questions, while using Flutter. This should not be confused with flutter-layout and therefore should not be used as a synonym. Flutter-design questions should relate to correct usage and form of things such as the Material vs Cupertino design choices.

Questions relating to design oriented questions, while using Flutter. This should not be confused with flutter-layout and therefore should not be used as a synonym. Flutter-design questions should relate to correct usage and form of things such as the Material vs Cupertino design choices. Other acceptable topics could include following Google's design guidelines in Flutter (example). To clarify again this should rarely be used to reference Flutter functionality issues.

152 questions
1
vote
6 answers

Container color in flutter

I want a colour for container but getting error while using colour. My code: Container( color:Colors.red, width: 50, height: 50, decoration: BoxDecoration( borderRadius: BorderRadius.circular(50) ) ),
1
vote
2 answers

Automatic swipe items (cards) in Flutter

I want to make something like in this picture or this but I want to make it swipe automatically using Flutter I don't know if there's a widget that can help me or any package that implement it.
1
vote
1 answer

Flutter: RadioListTile color is not changing

I have a RadioListTile in my widget tree which has the property tileColor, whenever I change its value it doesn't actually change. Anyone can help on this? Thanks in Advance
Moaz El-sawaf
  • 2,306
  • 1
  • 16
  • 33
1
vote
1 answer

Flutter: should I use variables or create a new class for sub widgets?

I'm currently working on a dashboard for my project. For my scaffold body I use a ListView. Should his childen be new classes or variables? Example: My Dashboard: @override Widget build(BuildContext context) { return Scaffold( body:…
1
vote
2 answers

How to custom design an icon in flutter?

I wanna build a A custom battery design to look like the one in this image so that its devided to chunks and they will be filled based on the percentage of the battery: I only managed to creat a simple battery by using the battery icon but how can…
1
vote
1 answer

Desktop flexible grid amount of content in a row

I have problem designing inside a flexible a grid where it can go from 3 item in a row on full screen to be 1 item in a row on the smallest allowed size of the application, is there a widget or guide for this?
1
vote
1 answer

How to design curve text field with icon in start in flutter?

I have this design that I'd like to use for my app but I'm not quite sure how to add the curved and the icon at the start of the text field.
Jamshid Ali
  • 101
  • 1
  • 11
1
vote
1 answer

How to create shadows like the one in the figure in flutter?

Can anyone tell me how we can create inner shadows like this in flutter please.
Harry R
  • 89
  • 1
  • 9
1
vote
1 answer

Make gradient effect at container flutter,

how make gradient at flutter like this image?, i think this gradient make like 3D Effect
Maemunah
  • 37
  • 5
1
vote
1 answer

How to get the intrinsic size of container inside stack in flutter

I am trying to build a UI . I am new to flutter and I am confused on how we will be able to get the size of container inside a stack. Right now it fills to stack size. I want to know the intrinsic size of container , so I can fill the bottom, half…
Jeesson_7
  • 761
  • 1
  • 11
  • 38
1
vote
1 answer

How to change the text button color on press in flutter?

I wanted to create a page in my app using the Flutter where people can select from the options that I created using text buttons. The current result of my code is given below in the image. But I want to make it like that - after selecting one text…
Maahdi.Codes
  • 99
  • 2
  • 8
1
vote
1 answer

Since the Listview.builder widget in flutter requires a height, some fixed heights I give to the container wrapping the widget causes to overflow

Code @override Widget build(BuildContext context) { return SafeArea( child: Scaffold( appBar: AppBar( title: Text('Search Families'), centerTitle: true, ), backgroundColor:…
1
vote
1 answer

Flutter ListWheelScrollView.useDelegate Make Auto Scroll for few seconds

I want to add an auto scrolling system in flutter ListWheelScrollView.useDelegate for few seconds. My ListWheelChildLoopingListDelegate is generating a loop of infinity widgets. Is it possible to scroll this loop for few seconds by clicking on a…
1
vote
0 answers

Getter not found: 'context'. fontSize: MediaQuery.textScaleFactorOf(context)*18,

I want to make my font size responsive, but using MediaQuery.textScaleFactorOf(context) does not solve the problem and even throws an error to the console which reads; Getter not found: 'context'. fontSize: MediaQuery.textScaleFactorOf(context)*18, …
1
vote
1 answer

How can I make a gradient shadow around any widget in flutter?

Example: Please notice that the color of the widget doesn't matter, only the color of the shadow around it. I've been trying to edit the source code of BoxShadow, which is only like 100 lines long, but I'm not having much success. Any help would be…
1 2
3
10 11