tellme_color_picker

Creator: coderz1093

Last updated:

0 purchases

tellme_color_picker Image
tellme_color_picker Images

Languages

Categories

Add to Cart

Description:

tellme color picker

tellme_color_picker #
Semi customizable color picker for flutter.



Install #
1. Depend on it #
Add this to your package's pubspec.yaml file:
dependencies:
tellme_color_picker:: <CurrentVersion>
copied to clipboard
2. Install it #
You can install packages from the command line:
with Flutter:
$ flutter pub get
copied to clipboard
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
3. Import it #
Now in your Dart code, you can use:
import 'package:tellme_color_picker/tellme_color_picker.dart';
copied to clipboard
Example #
//Default confirmed
TextButton(
onPressed: () => TellMeColorPicker(
context: context,
colors: TellMeColors.labelColors,// color array
onSelected: (Color color) {
setState(() {
selectedColor = color;
});
},
),
child: Row(
children: [
Icon(Icons.label, color: selectedColor),
SizedBox(width: 10),
Text('Select a color'),
],
),
),

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.