Day Night Time Picker in flutter

You are currently viewing Day Night Time Picker in flutter
Day night time picker in flutter

Flutter Day Night Time Picker – A day night time picker in Flutter with Zero Dependencies.

Installation

Add to pubspec.yaml.

dependencies:
day_night_time_picker:

Usage

To use plugin, just import package

import 'package:day_night_time_picker/day_night_time_picker.dart';

Example

TextButton(
 onPressed: () {
     Navigator.of(context).push(
         showPicker(
             context: context,
             value: _time,
             onChange: onTimeChanged,
         ),
     );
 },
 child: Text(
     "Open time picker",
     style: TextStyle(color: Colors.white),
 ),
),

Learn more about date picker click here

Credit

This project is developed by vs4824
Download this project from the below link.
https://github.com/vs4824/Flutter_Day_Night_Time_Picker/archive/refs/heads/main.zip
You can visit the source page from the below link:
https://github.com/vs4824/Flutter_Day_Night_Time_Picker

Spread the love
See also  Omni DateTime Picker for Flutter

Leave a Reply