flutter_brand_palettes 0.0.1+1 copy "flutter_brand_palettes: ^0.0.1+1" to clipboard
flutter_brand_palettes: ^0.0.1+1 copied to clipboard

outdated

Fully unit tested, object-oriented set of small classes that represent the color palettes of popular brands and companies.

style: lint license EO principles respected here

Flutter Brand Palettes #

Stop searching the internet for brand colors hex codes!

This is an object-oriented Flutter package of color palettes of popular brands and companies.

Getting Started #

Rather than a constant integer value, each color is represented by a named constructor of its corresponding "brand" class that implements the property "color". For instance, Instagram.red().color retrieves the Instagram's red color(#FD1D1D); Instagram.blue().color, Instagram's blue (#5B51D8); Instagram.orange().color, Instagram's orange(#F77737); and so on.

Example: #

import 'package:brand_colors/flutter_brand_colors.dart';
import 'package:flutter/material.dart';

class InstagramIsh extends StatelessWidget {
  const InstagramIsh({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Instagram.blue().color,
    );
  }
}

Hex color values references: #

Implemented Color Palettes (A-Z): #

  • Instagram

    • royal blue, blue, purple, dark pink, purple-red, red, dark orange, orange, yellow, light yellow.
40
likes
0
pub points
63%
popularity

Publisher

verified publisherdartoos.dev

Fully unit tested, object-oriented set of small classes that represent the color palettes of popular brands and companies.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_brand_palettes