FLUTTER ECOSYSTEM

ggichure/hexcolor

Dartに16進数カラーを導入するためのFlutterプラグイン hexcolorPlugin

hexcolor のプロジェクト画像
Stars
17
Forks
7
最終プッシュ(UTC)
2026/03/31
プロジェクト状態
公開中
Griffins GitHub avatar
GITHUB User

Griffins ↗

言語Dart

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 5 件
  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • lints開発用^6.0.0
  • test開発用^1.16.0
  • flutter_test開発用{"sdk":"flutter"}

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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"