hexcolor_example
how to use the hexcolor plugin.
hex color plugin allows you to add hex color codes to your flutter projects
Getting Started
sample usage
import 'package:hexcolor/hexcolor.dart';
Text("Hello There!", style: TextStyle(color: HexColor("#009688"))),
ElevatedButton(
onPressed: () {
setState(() {
colorCode = Colors.teal.toHex();
});
},
child: Text('Get Hex Color $colorCode'),
),
HexColor("#yourhex")
Color to hex
String textColor = ColorToHex(Colors.teal).toString();
