0 purchases
ant color
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
copied to clipboard
shell
flutter pub add ant_color
copied to clipboard
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);
copied to clipboard
references #
ant-design-colors
Ant Design: 色彩
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.