ant_color 0.0.2
ant_color: ^0.0.2 copied to clipboard
ant design colors. includes 120 colors & provider a way to self generated.
ant_color #
NOTICE: THIS IS NOT A OFFICIAL REPO.
If you have issue about this project, place make a new issue or make a PR.
Ant Design's base color palette totals 120 colors, including 12 primary colors and their derivative colors. These colors can basically include the need for color in background applications design.
Add to Your Project #
- pubspec.yaml
dependencies:
ant_color: any
- shell
flutter pub add ant_color
Usage #
import 'package:flutter/material.dart';
import 'package:ant_color/ant_color.dart';
// default usage
final antColorBox = Container(color: AntColors.volcano);
final antColorBoxWithShade = Container(color: AntColors.volcano[700]!);
// generate color palette
final someColor = AntColor.generate(Colors.blue);