Flutter library for creating two tone icon, you can customize color/ratio/direction etc...
Add package from github by adding the following to your pubspec.yaml, pub publication is added later.
dependencies: bicolor_icon: ^0.0.2
Import the library in your file:
Use the BicolorIcon like this:
BicolorIcon( iconData: Icons.favorite, iconSize: 50, rate: 0.5, beginAlignment: Alignment.centerLeft, beginColor: Colors.pink, endColor: Colors.white )