A Flutter package for iOS and Android for picking last seven dates and time with analog view.
First, add analog_time_picker
as a dependency in your pubspec.yaml file.
No configuration required - the plugin should work out of the box.
No configuration required - the plugin should work out of the box.
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;
}
}
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",
);
}
}