Flutter. Using Theme, how to change scroll offset color?

For beginning I am very sorry for my English. I am not a native speaker and additionally this is my first post in this language. I will be grateful for your understand...

How to apply linear gradient in flutter charts?

How to apply linear gradient in the flutter charts? I have tried with colors class but i am able to apply only a solid color and unable to find a way for using...

how to add custom color to flutter?

I want to change the color of AppBar and use a custom color for it, I tried many options but none seem to work. Is there anything I'm missing? <pre><code>import 'p...

How to call print() with colorful text to android studio console in flutter

I need a debug output with colorful string, like node.js chalk. I tried to find the packages, but there is no proper package.

Flutter how i can use a setState event without refresh my futurebuilder

I have a question. At the moment i try to build a category list with data from firebase. To load the data i use a futurebuilder. Here my category...

TabBar icon color when tab is selected

I'm trying to change color of the tab icon when tab is selected. I know how to change the color of the icon, but I don't know how to make the color change when I selec...

flutter text color not changing by class

I am new to flutter. I have created class for Textstyle. But its color is not changed. I have created two classes, one for color variable and other for textstyle. but...

dart/flutter: assign saturation of HSLColor after creation

<h2>Goal</h2> I'd love to do the following <ol> <li>Convert <code>Color</code> to <code>HSLColor</code>;</li> <li>Customize the saturation of the color;</li> <li...

Randomize swatch for a color passed to a function in Flutter

I have a function that gets Color as an argument. I want to generate a list of random swatches for that color within that function. For example, if the color passed is...

How to change the color of one row in DataTable in Flutter?

I have data table and I changed the color of all the rows in this way: <pre><code>class _SimpleTableState extends State&lt;SimpleTable&gt; { @override Widget b...

How to change flutter app keyboard color?

In my flutter , I create a TextFormField, but it's keyboard color is black in iOS, I want to know how to change it to white. flutter language version: >=2.2.2...

Detect color is light or dark in flutter

Is there any way to check color is dark or ligh , in the sense black tone or white in flutter and get a boolean value true or false

[flutter]: How to make the color of a Container() fill whole area in a tab of TabBar()?

I am trying to implement a TabBar with tabs having different background colors. Tabs are hosting Container() widgets with different decoration colors. The problem is t...

how can i change the color property with if else condition flutter

Hello i created a custom BottomNavigationBar in flutter and want to use a if else condition in the color property of the IconButton. Does anyone know what is the mista...

Flutter: How to get the color of an image pixel?

I have a <code>Image.asset</code> in a <code>GestureDetector</code>. With the <code>onTapDown</code> I get the coordinates of the pixel touched. Now, wit...