analog_time_picker 0.0.2 copy "analog_time_picker: ^0.0.2" to clipboard
analog_time_picker: ^0.0.2 copied to clipboard

A new Flutter package for .

analog_time_picker package for Flutter #

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.

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;
   }
}

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",
    );
  }
}
1
likes
15
pub points
35%
popularity

Publisher

unverified uploader

A new Flutter package for .

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on analog_time_picker