material_color_generator 1.1.0 copy "material_color_generator: ^1.1.0" to clipboard
material_color_generator: ^1.1.0 copied to clipboard

A package for generating a material color palette with HEX Color.

example/main.dart

import 'package:flutter/material.dart';
import 'package:material_color_generator/material_color_generator.dart';

class MaterialColorGeneratorExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: "Flutter Example App",
      theme: ThemeData(
        // Generate the material color and make the app theme.
        primarySwatch: generateMaterialColor(color: Color(0xFFd826fd)),
      ),
      // home: Home(),
    );
  }
}
35
likes
150
pub points
89%
popularity

Publisher

verified publisherberkan.io

A package for generating a material color palette with HEX Color.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on material_color_generator