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

outdated

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
40
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

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on material_color_generator