Skip to content

An updated version of the original analog_time_picker that support null safety

License

Notifications You must be signed in to change notification settings

seniorjean/analog_time_picker

Repository files navigation

An updated versio of analog_time_picker package for Flutter

Added support for null-safety and improved datatype handling

Credit to : Sheikhsoft

pub package

A Flutter package for iOS and Android for picking last seven dates and time with analog view.

Demo

Installation

First, add analog_time_picker as a [dependency in your pubspec.yaml file]

  analog_time_picker:
    git:
      url: https://github.com/seniorjean/analog_time_picker

iOS

No configuration required - the plugin should work out of the box.

Android

No configuration required - the plugin should work out of the box.

Code for the analog day time picker

import 'package:analog_time_picker/analog_time_picker.dart';


class AnalogDayPick extends StatelessWidget{
 Map<String, DateTime> _dateTime = {};
 
  @override
  Widget build(BuildContext context) {
    return AnalogTimePicker(
      onChanged: (Map<String , DateTime value>){
       _dateTime = value;
      },
    );
  }
}

About

An updated version of the original analog_time_picker that support null safety

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published