color_type 1.0.2 copy "color_type: ^1.0.2" to clipboard
color_type: ^1.0.2 copied to clipboard

Package with a choice of color variations created by make it.

Features #

  • Easily adjust saturation when setting colors.
  • By using your own defined color code, you can unify the saturation.

Usage #

  • You can specify all the colors defined in the following image.
  • The specification method is "color name (camelCase)_number". Image of ColorType
class Sample extends StatelessWidget {
  const Sample({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: ColorType.lightBlue_40,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}
2
likes
140
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Package with a choice of color variations created by make it.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on color_type