flutter pub add name_of_package
FlutterHighlight(
duration: Duration(seconds: 1),
child: MyWidget()
);
If you'd like to see a more complex example, take a look at the example.
Here is the list of design customizations :
Name | Description |
---|---|
duration |
Duration of the animation |
blinkNumber |
Number of times the animation goes forward and reverse. |
color |
Color of the highlight |
minOpacity |
Minimum opacity of the highlight |
maxOpacity |
Maximum opacity of the highlight |