hexcolor 3.0.1 copy "hexcolor: ^3.0.1" to clipboard
hexcolor: ^3.0.1 copied to clipboard

Brings HexColor for your dart and flutter projects, convert material colors to hex colors

License: BSD 3 Pub.dev 213

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"

325
likes
140
points
21.7k
downloads

Publisher

unverified uploader

Weekly Downloads

Brings HexColor for your dart and flutter projects, convert material colors to hex colors

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on hexcolor