in , ,

A Flutter package for picking the last seven dates and times with analog view

analog_time_picker package for Flutter

To pick the last seven dates and times in the most flexible and intelligent way possible, a Flutter package is here to assist you. With a beautiful interface and smart design, distinctive colors, along an analog view, this Flutter package will deliver the best value to help you.

analog_time_picker-package-for-Flutter

Installation

To proceed with the installation steps first, you need to add analog_time_picker as a dependency in your pubspec.yaml file.

iOS

With the IOS system operating, no configuration is required-the plugin should work out of the box.

Android

Similar to the iOS operating system, the Android operating system requires no configuration; the plugin should work out of the box.

Code for the analog day time picker

This is Code for the analog day time picker:

import 'package:analog_time_picker/analog_time_picker.dart';


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

Code for the Full page Analog day time picker widget

This is code for for the Full page Analog day time picker widget:

import 'package:analog_time_picker/full_page_analog_time_picker.dart';

class FullPageClock extends StatelessWidget {
  final Map mapData;
  const FullPageClock({Key key, this.mapData}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return FullPageAnalogTimePicker(
      mapData: mapData,     
      route: "/sixth",
    );
  }
}

GitHub

https://github.com/Sheikhsoft/analog_time_picker

Written by James

A date-time picker in the flutter

A simple Pomodoro timer is written in Flutter Web