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(),
    );
  }
}
32
likes
130
pub points
90%
popularity

Publisher

verified publisherberkanaslan.com

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