easy_color 0.0.2

Flutter Android iOS web

A packge to make hex color easier in flutter.

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

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

1
likes
80
pub points
0%
popularity

A packge to make hex color easier in flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

farhanroy120@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on easy_color