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
0
votes
3 answers

Place an icon on the buttom right of a Container

I have a Widget to creat a circular container. I want to place an icon on the buttom right, so I tried to use Positioned to place it where I want but its not moving. Its fixed on the center on the container. Widget buildImage() { return…
taha khamis
  • 401
  • 4
  • 22
0
votes
1 answer

Flutter Separating logic from UI Without Context

I'm new to flutter and i've been working on an app and trying to implement the MVVM architecture to separate the logic from the UI. I'm using the provider as state management and it's working fine with notifying the new data. but I have two major…
0
votes
1 answer

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 target(home screen) the drawer doesn't close If anyone have the full code that's working…
It'sPhil
  • 61
  • 1
  • 2
  • 11
0
votes
1 answer

Why parent widget setState disables child widget setState in flutter?

I try to create a date picker for my flutter app. At first i can choose the day i want and the color of selected day will change. The problem is when i change the month or year in drop down button, I can't change selected day. Actually all things…
0
votes
1 answer

Is there a way/workaround to show a snackbar on top of the blurred dialog with Flutter?

Below is the screenshot of the current situation/problem. I have a dialog that has a blurred background. I want to show a snackbar when the user clicks the "copy referral link" button. However, since I put a blurred background on the dialog,…
0
votes
3 answers

Error in Flutter code " type 'Null' is not a subtype of type 'bool' "?

I am creating a multi-paged app on flutter to To determine the time based on the location, but when the code is turned on, there's a problem on this page, I tried to fix the problem, but the error still exists" type 'Null' is not a subtype of type…
0
votes
1 answer

Swipe to get message details in chat using flutter

How can we add a function where we can Swipe the particular message to get message details like time and date in chat using flutter language.
0
votes
1 answer

Create a custom color constant with BlockPicker and importable for the whole application

How to make this kind of color function Color pickerColor = kPrimaryColor; with sharedPreference reusable? import 'package:flutter_colorpicker/flutter_colorpicker.dart'; import '../../Config/Widgets/constants.dart'; class ColorPickerBtn extends…
0
votes
1 answer

How to make your own Flutter widgets?

So now I am an Intermediate flutter developer. I have used Material Design and Cupertino Design so far. I tried to use the new Fluent App design but it was a bad experience(this package has poor documentation). So what if, I need to design my own…
0
votes
3 answers

I am Having Issues Accessing My Custom Data In Flutter, How To Access The Features Data in The Data Below

Here is the JSON path need to be edited: List populars = [ { "image": "", "name": "Single Villa", "price": "280,000FCFA", } ] }, ]
0
votes
3 answers

Flutter how to create a banner across an image

New to flutter and trying to recreate a website but cant figure out how to have text over my card and include the full width opacity behind the text. I also tried to add rounded corners to the card but I'm noticing that there are still white sharp…
Jack Duffy
  • 193
  • 12
0
votes
2 answers

No MediaQuery widget ancestor found. Scaffold widgets require a MediaQuery widget ancestor

I am new to flutter, BUILT an app showing graphs in flutter. When i run the code a red screen is appearing showing the above error No MediaQuery widget ancestor found. Scaffold widgets require a MediaQuery widget ancestor. I have cleared all the…
0
votes
3 answers

The operand can't be null, so the condition is always false. I am receiving this warning

I have made a BMI calculator in flutter. I am new in flutter. After running the code i am receiving the above warning. Kindly provide me the solution of this problem. Below attached is the link of the code Link of the dart file
0
votes
0 answers

How to make Flutter Liquide wave animation

How can I make liquids wave animation which is always flowing . can any one Help me.
0
votes
1 answer

Flutter TabBar wrong labelColor when use ThemeData

I try to change labelColor value for TabBar via ThemeData. child: MaterialApp( theme: ThemeData.light().copyWith( colorScheme: ColorScheme.fromSwatch( primarySwatch: Colors.deepPurple, ).copyWith( …