Pub Build

🌈 easy_color

A packge to make hex color easier in flutter.

☀️ Getting Started

install dependenciy like this

dependencies:
  easy_color: ^0.0.1

🏃‍Usage

Its so easy, you must have a hex color as string and then enter it to library method

 import 'package:flutter/material.dart';
 import 'package:easy_color/easy_color.dart';
 
 void main() => runApp(MyApp()); 

 class MyApp extends StatelessWidget {
   @override
   Widget build(BuildContext context) {
     return MaterialApp(home: DemoPage(),);
   }
 }

 class DemoPage extends StatelessWidget {
   @override
   Widget build(BuildContext context) {
     return Scaffold(
     backgroundColor: HexColor.fromHex("#000000"), // make black color
       body: Center(
         child: Text("Hello", color: HexColor.fromHex("#ffffff")) // make white color
         ),
       ),
     );
   }
 }

Version

0.0.2

✨ About

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

👦🏻 Authority

FarhanRoy farhanroy120@gmail.com

👶🏻 👦🏻 👧🏻 👨🏻 👩🏻 👱🏻‍♀️ 👱🏻 👴🏻 👵🏻 👲🏻 👳🏻‍♀️ 👳🏻 👮🏻‍♀️ 👮🏻 👷🏻‍♀️ 👷🏻 💂🏻‍♀️ 💂🏻 🕵🏻‍♀️ 🕵🏻 👩🏻‍⚕️

Libraries

easy_color