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
7
votes
5 answers

Changing the trailing icon color in ExpansionTile

I need to change the color of the trailing keyboard_down_arrow in ExpansionTile. I have tried wrapping it in Theme widget and setting accent, primary and IconTheme also, but nothing seems to work. Theme( data:…
TarushiAg
  • 204
  • 1
  • 4
  • 12
6
votes
3 answers

How to change font size of textfield in Flutter?

I have a textfield and I want to change the font size of it because my application will be available for both iPad and mobile phones. The font size of the textfield is good for mobile phones but too small for iPad. How can I change it?
batuhankrbb
  • 598
  • 7
  • 10
5
votes
0 answers

after saving from canvas image looks blurry and image quality is not same as old in flutter

//first the code i write . class AreaPainter extends CustomPainter{ List points; bool clear; bool iscrop; final ui.Image image; BuildContext context; AreaPainter(@required this.image,@required this.clear,@required this.points,@required …
Lovnish Jain
  • 332
  • 1
  • 6
4
votes
2 answers

Flutter desktop opens a new window

When clicking a button I want to open a separate new flutter window on my desktop flutter application. How can I do that? It must work separately. My OS: Windows 10
4
votes
3 answers

flutter elevated button color not changing

I am not able to change the background of flutter button. please help. the error that VS code shows is "Invalid constant value.", underlining the MaterialStateProperty.all(Colors.red) line import 'package:flutter/material.dart'; void main() { …
4
votes
2 answers

Flutter: Change Statusbar Text Color not working properly

Almost all the Q/A referred on Stackoverflow related to the same topic but didn't get proper solutions. Main Question: My app having the primary color blue and I want to set Statusbar Text Color white. What I have tried: Using SystemChrome: (Using…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
3
votes
1 answer

Squiggly Seekbar with Animation in Flutter

I am trying to implement Squiggly Seekbar with Animation in Flutter. Here is the example how its looks like [Video Preview]: I have tried some of the code as below class MyWaveClipper extends CustomClipper { @override Path getClip(Size…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
3
votes
0 answers

PrimarySwatch is not working when useMaterial3 is true

When I updated Flutter to Flutter 3.7.6, suddenly 'primarySwatch' is not reflected anymore. 'useMaterial3' works if I set it to false, but I don't know why. return MaterialApp( title: 'Demo', theme: ThemeData( primarySwatch: Colors.pink, …
3
votes
1 answer

Fvm requires permission on Windows

I am using Fvm v2.4.1 and using commands like: fvm list fvm config fvm doctor It work fine, but when fvm use --verbose is entered it displays: [0.076s] Version: 3.0.3 - already installed. [0.097s] FileSystemException: Cannot create link…
3
votes
2 answers

How to change textfield background color on focus

I need to change textfield background color grey to white when user tap on textfiled. Focused textfield's background color should change grey to white and other un focused textfield background color stay remain grey. i tried…
Harsh Sureja
  • 1,052
  • 1
  • 9
  • 22
3
votes
1 answer

How to get color of a point in a LinearGradient in Flutter

Suppose we have a LinearGradient in a 200x200 square (check the source code here). How we can get the color in point (25, 25)?
imaN NeoFighT
  • 480
  • 4
  • 13
3
votes
2 answers

How to highlight only numbers and special characters inside Text in Flutter?

I'm trying to highlight any numbers & special characters like '%' from a String that comes dynamically from JSON. This is my current implementation but I can't understand how to change it dynamically. RichText( …
Simran Aswani
  • 1,236
  • 3
  • 19
  • 42
3
votes
1 answer

How to implement blurred background Bottom Modal Sheet in Flutter?

I am doing one project and for that I want to have a bottom sheet with blurred image background. For this I've implemented this code which works fine but have one problem. Widget build(BuildContext context) { return Container( height:…
3
votes
1 answer

Custom container shape in flutter

I want to make a screen like this in flutter : Can anyone suggest how can i make containers like this in flutter and design like this, Thanks in advance.
Karan Mehta
  • 1,442
  • 13
  • 32
3
votes
1 answer

i am trying to load dynamic url as intial url bt its not load in webview. if i put url into tem var and used temp as intial url then it will work

Here I am trying to load deep link in webview first enter the deep link in google and its redirect to the app and load deep link in webview. if I put static URL like var temp = "www.google.com" and then used temp var as initial URL in webview it…
1
2 3
10 11