Saturday, 6 July 2019

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

flutter tutorial,flutter,flutter tutorial for beginners,flutter app,flutter tutorials,flutter sdk,tutorial,flutter course,learn flutter,flutter tutorial ios,flutter firebase tutorial,flutter widgets,flutter app development tutorial,flutter ios,flutter dart,flutter android,google flutter,flutter sdk tutorial,flutter tutorial app,google flutter tutorial,flutter sqflite tutorial,flutter tutorial deutsch,flutter tutorial android

analog_time_picker package for Flutter

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



Installation

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

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 = new Map();
 
  @override
  Widget build(BuildContext context) {
    return AnalogTimePicker(
                           onChanged: getDayTime,
                         );
  }
 void getDayTime(Map value) {
     _dateTime = value;
   }
}
Dart

Code 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

A Flutter package for iOS and Android for picking last seven dates and time with analog view. — Read More
Latest commit to the master branch on 4-3-2019
Download as zip