color_scheme_display 0.0.5 copy "color_scheme_display: ^0.0.5" to clipboard
color_scheme_display: ^0.0.5 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,
      ),
      home: const ColorSchemeDisplay(),
    );
  }
}
3
likes
0
points
72
downloads

Publisher

verified publisherabcx3.com

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #widget #material #color #debug

License

unknown (license)

Dependencies

flutter

More

Packages that depend on color_scheme_display