camera_color_picker

Creator: coderz1093

Last updated:

0 purchases

camera_color_picker Image
camera_color_picker Images

Languages

Categories

Add to Cart

Description:

camera color picker

camera_color_picker #
A Flutter widget to pick colors using the camera.
Installation #
First, add camera_color_picker as a dependency in your pubspec.yaml file.
camera_color_picker: ^0.0.1
copied to clipboard
Basic Example #
Color currentColor = Colors.blueAccent;
copied to clipboard
CameraColorPicker(
currentColor: currentColor,
onColorChanged: (Color color) {
currentColor = color;
setState(() {});
},
),

copied to clipboard
Example-2 (Use the child argument to change the appearance of the button) #
Color currentColor = Colors.blueAccent;
copied to clipboard
CameraColorPicker(
currentColor: currentColor,
onColorChanged: (Color color) {
currentColor = color;
setState(() {});
},
child: Icon(
Icons.icecream_sharp,
color: currentColor,
),
),

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.