animated_weight_picker
1.0.3, released 4 years ago by gurutechnolabs.com
Animated weight picker widget for selecting weight values via swipe or drag.
What it does
Provides a customizable widget that lets users pick a weight value with an animated scale. It supports metric and imperial units and allows fine‑grained increments.
AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a weight input in a fitness or health app
- You want a visually engaging picker instead of a simple slider
- You need support for both metric and imperial units
- You want to customize the appearance of the picker
Skip it when
- You only need a basic numeric input
- You are building a non‑Flutter platform
- You require persistence or state management beyond the widget
Strengths
- Animated UI for better user experience
- Highly customizable options (intervals, colors, text)
- Supports both metric and imperial units
- Simple API with onChange callback
Weaknesses
- Only handles weight selection, not other numeric types
- No built‑in state management or persistence
- Limited documentation beyond README
- No unit tests included
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final double min = 0;
final double max = 10;
String selectedValue = '';
@override
void initState() {
selectedValue = min.toString();
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Animated Weight Picker')),
body: Center(
child: AnimatedWeightPicker(
min: min,
max: max,
onChange: (newValue) {
setState(() {
selectedValue = newValue;
});
},
),
),
);
}Alternatives
Packages that do the same job and could replace animated_weight_picker.
- syncfusion_flutter_datepicker
A Flutter widget for selecting single dates, multiple dates, or date ranges with various calendar views.
91Compare - country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - super_drag_and_drop
Native drag and drop for Flutter across desktop, mobile and web.
78Compare - drag_select_grid_view
A Flutter grid that supports both dragging and tapping to select its items.
74Compare