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

A simple widget that displays all colors and names of a given color scheme.

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    final colorScheme = ColorScheme.fromSeed(
        seedColor: const Color(0xFF2FB2B2),
        brightness: Brightness.light,
        dynamicSchemeVariant: DynamicSchemeVariant.tonalSpot);
    return MaterialApp(
      title: 'Color Scheme Display Demo',
      theme: ThemeData(
        colorScheme: colorScheme,
        useMaterial3: true,
      ),
      debugShowCheckedModeBanner: false,
      home: const ColorSchemeDisplay(),
    );
  }
}
3
likes
150
points
69
downloads
screenshot

Publisher

verified publisherabcx3.com

Weekly Downloads

A simple widget that displays all colors and names of a given color scheme.

Homepage
Repository (GitHub)

Topics

#flutter #widget #material #color #debug

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on color_scheme_display