weight_dial_picker 0.0.4
weight_dial_picker: ^0.0.4 copied to clipboard
A customizable weight dial picker with kg/lb support
Weight Dial Picker #
A beautiful and customizable weight picker widget for Flutter with smooth dial interaction and kg/lb support.
โจ Features #
- ๐ฏ Smooth animated dial interaction
- ๐ kg / lb unit toggle
- ๐จ Fully customizable UI
- ๐ฑ Easy to integrate
- โก Lightweight with no extra dependencies
๐ผ Screenshots #
๐ฆ Installation #
Add this to your pubspec.yaml:
dependencies:
weight_dial_picker: ^0.0.4
Then run:
flutter pub get
๐ Usage #
Import the package:
import 'package:weight_dial_picker/weight_dial_picker.dart';
Use the widget:
WeightDialPicker(
initialWeight: 70,
unit: 'kg',
onChanged: (value, unit) {
print("Selected: $value $unit");
},
)
โ๏ธ Parameters #
| Parameter | Type | Default | Description |
|---|---|---|---|
initialWeight |
double |
70 |
Starting weight value |
unit |
String |
'kg' |
Unit type โ 'kg' or 'lb' |
onChanged |
Function(double, String) |
required | Callback on value change |
๐ Repository #
๐ github.com/mithleshgurjar11/weight_dial_picker
๐ค Contributing #
Contributions are welcome! Feel free to open an issue or submit a pull request.
๐งโ๐ป Author #
Mithlesh Gurjar Flutter Developer ยท GitHub
๐ License #
This project is licensed under the MIT License.