How can I fill the color of text from left to right in Flutter - flutter

I want to create animation for Text.Fill Text color from left to right.
animation 1animation 2

use this package plugin you can also change the colors there

Related

Flutter BottomNavigationBarItem original color

When i'm using BottomNaviagtionBar with BottomNavigationBarItem the color of selected BottomNavigationBarItem is the color selectedItemColor but i wan't to use the original color, because my image has two different colors when I try to use transparent color my icon disappear
Thanks for your help
So if you want to use the default color, then don't specify any values to selectedItemColor. If that doesn't work try finding a color that doesn't cause such a problem and use it. Here are all the colors flutter has, I am sure you will find the right one, just keep lookin'
https://api.flutter.dev/flutter/material/Colors-class.html

How to show a container / dialog next to an icon when the icon is tapped?

Hi I'm trying to create a screen that have bunch of container with a child of row that have a text and a Icon (the red one - can be seen on the image). So when I click the icon I want to show a dialog right next to the icon. I tried using aligned_dialog but the positioning is really hard to do, I want it to be instantly next to the icon just like the image.
Is there any package or widget that I can use to achieve this ?
You can check this package: https://pub.dev/packages/just_the_tooltip
It allow to specify a child of type Widget, so you can add what you want.

Flutter change checkbox tick icon size

Is it possible to change the tick size of checkbox ? i tried wrapping the CheckBox with Transform.scale with scale: 2.0 but it makes the whole CheckBox button bigger.
Maybe you will try asset image instead of icon for check box.

Flutter - what is the difference between enabledBorder and Border

I was making a search bar in flutter and couldn't seem to figure out the difference between enabledBorder and border in the OutlineInputBorder widget.
I also want different border colors when I tap on the search bar and when I come out of it.
for example, if I set the border's color to green and the enabledBorder's color to red it just shows red at all times.
According to the flutter docs,
border → InputBorder The shape of the border to draw around the
decoration's container.
enabledBorder → InputBorder The border to display when the
InputDecorator is enabled and is not showing an error
The enabledBorder is the specific border that will be displayed when the TextField is enabled or in simply words when you click on the TextField.

How to change text color in ripple effect

Is it possible to change the color of the text that's under the splash color during ripple effect on material button in Flutter ?
Im putting a splash color that is the same color as the texte and i want the text to turn white to become visible.
Splash hides text
I want something like this to happen
Text turn to white under splash color
You can use GestureDetectorand change text color in onLongPress or onLongPressStart or something else.