color_picker_wheel

Creator: coderz1093

Last updated:

0 purchases

color_picker_wheel Image
color_picker_wheel Images

Languages

Categories

Add to Cart

Description:

color picker wheel

color_picker_wheel #
A simple color picker to select color from given range of colors and set its shade more darker or lighter
Screenshots #

Usage #
To use this plugin :

Add the dependency to your [pubspec.yaml] file.

dependencies:
flutter:
sdk: flutter
color_picker_wheel:
copied to clipboard

In your file add the following import:

import 'package:color_picker_wheel/color_picker_wheel_widget.dart';
copied to clipboard
Example #
import 'package:color_picker_wheel/color_picker_wheel_widget.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Color Picker Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: Scaffold(
appBar: AppBar(
title: Text("Color Picker Demo"),
),
body: SafeArea(
child: ColorPickerWheel(
colorListener: (color) {
print("${color.toString()}");
},
),
),
),
);
}
}

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.