zhourengui / hexcolor

A flutter plugin for bringing hex colors to dart hexcolorPlugin

Home Page:https://pub.dev/packages/hexcolor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

A flutter plugin for bringing hex colors to dart hexcolorPlugin

https://pub.dev/packages/hexcolor

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 42.1%Language:CMake 26.9%Language:Dart 8.0%Language:C 7.9%Language:Swift 3.9%Language:Batchfile 2.9%Language:Ruby 2.9%Language:Kotlin 2.7%Language:HTML 2.2%Language:Objective-C 0.6%