FLUTTER ECOSYSTEM

ggichure/hexcolor

Um plugin do Flutter para trazer cores hex para o Dart hexcolorPlugin

Capa do projeto hexcolor
Stars
17
Forks
7
Último push (UTC)
31 de mar. de 2026
Status do projeto
Ativo
Griffins GitHub avatar
GITHUB User

Griffins ↗

LinguagensDart

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 5 itens
  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • lintsDesenvolvimento^6.0.0
  • testDesenvolvimento^1.16.0
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

License: BSD 3 Pub.dev 213

hexcolor_example

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")

https://raw.githubusercontent.com/ggichure/hexcolor/HEAD/sample.png

"Buy Me A Coffee"