creo_color_picker 0.0.4
creo_color_picker: ^0.0.4

Flutter Android iOS

Simple Flutter color picker widgets with alpha channel and popup view.

example/lib/main.dart

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

void main() => runApp(const _App());

class _App extends StatelessWidget {
  const _App();
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) =>
      const MaterialApp(title: 'Flutter Demo', home: ColorPickerExamplePage());
}

class ColorPickerExamplePage extends StatefulWidget {
  const ColorPickerExamplePage();

  @override
  _ColorPickerExamplePageState createState() => _ColorPickerExamplePageState();
}

class _ColorPickerExamplePageState extends State<ColorPickerExamplePage> {
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(title: Text('ColorPicker sample app')),
        body: Center(
          child: Row(
            mainAxisSize: MainAxisSize.min,
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Column(
                mainAxisSize: MainAxisSize.min,
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  Text('Color Picker',
                      style:
                          const TextStyle(color: Colors.grey, fontSize: 20.0)),
                  const SizedBox(height: 16.0),
                  SizedBox(width: 300, height: 400, child: ColorPicker()),
                ],
              ),
              const SizedBox(width: 64),
              SizedBox(
                  width: 300,
                  child: ColorPickerCombo(title: 'Color Picker Combo')),
            ],
          ),
        ),
      );
}
1
likes
100
pub points
53%
popularity

Simple Flutter color picker widgets with alpha channel and popup view.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

creomobile@gmail.com

License

BSD (LICENSE)

Dependencies

combos, flutter

More

Packages that depend on creo_color_picker