gliph_ui 1.2.2
gliph_ui: ^1.2.2 copied to clipboard
A premium suite of highly-customizable UI components for Flutter, starting with iOS-style 3D scroll pickers.
Flutter Scroll Picker #
A premium, highly-customizable set of scroll pickers for Flutter, designed by Gliph. This package provides an elegant, iOS-style 3D scrolling experience for selecting dates, times, weights, and generic values.
Features #
- DateScrollPicker: A fully-featured date picker with leap-year awareness.
- TimeScrollPicker: An intuitive time picker supporting both 12-hour (AM/PM) and 24-hour formats.
- WeightScrollPicker: A dedicated picker for selecting weights with customizable whole numbers, decimals, and units (e.g., kg, lbs).
- ValueScrollPicker: A generic, single-column picker for selecting string or integer values.
- ScrollPicker: The core engine. Highly customizable for building your own multi-column 3D scroll experiences.
Getting started #
To use this package, add flutter_scroll_picker as a dependency in your pubspec.yaml file.
dependencies:
flutter_scroll_picker: ^0.0.1
Usage #
Here is a quick example of how to use the DateScrollPicker:
import 'package:flutter/material.dart';
import 'package:flutter_scroll_picker/flutter_scroll_picker.dart';
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return DateScrollPicker(
onChange: (dateValue) {
print('Selected Date: ${dateValue.year}-${dateValue.month}-${dateValue.day}');
},
);
}
}
Additional information #
For more documentation and examples, please visit the Gliph UI GitHub repository.