Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.2 KB

License: BSD 3 Pub.dev 147

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( 
                      'Running on: $_platformVersion\n',
                    style: TextStyle(color: HexColor("#f2f2f2")),
                  ),
                  Text(
                    "Hex From Material  $textColor",
                    style: TextStyle(color: ColorToHex(Colors.teal)),
                  ),
Hexcolor("#yourhex")

Color to hex

String textColor = ColorToHex(Colors.teal).toString();

"Buy Me A Coffee"