time_picker_sheet 0.0.2+1 time_picker_sheet: ^0.0.2+1 copied to clipboard
Time picker sheet library, allows you to have beauty time picker sheet with customable design to align with your requirements.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add time_picker_sheet
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
time_picker_sheet: ^0.0.2+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:time_picker_sheet/widget/behaviour/snap_scroll.dart';
import 'package:time_picker_sheet/widget/composition/body.dart';
import 'package:time_picker_sheet/widget/composition/header.dart';
import 'package:time_picker_sheet/widget/composition/indicator.dart';
import 'package:time_picker_sheet/widget/composition/numbers.dart';
import 'package:time_picker_sheet/widget/composition/wheel.dart';
import 'package:time_picker_sheet/widget/provider/time_picker.dart';
import 'package:time_picker_sheet/widget/sheet.dart';
import 'package:time_picker_sheet/widget/time_picker.dart';