clock_analog 0.0.3
clock_analog: ^0.0.3 copied to clipboard
Clock Analog is used to pick time of day (without dialog box). User can use this package to add widgets of analog clock picker on screen, and can retrieve selected time with onChange event.
Clock Analog #
Clock analog allow you select time of day(Time Picker) to your Flutter app without dialog box. One can add it as widgets on screen and select time.
Installation #
- Add the latest version of package to your pubspec.yaml (and run
dart pub get):
dependencies:
clock_analog: ^0.0.3
- Import the package and use it in your Flutter App.
import 'package:clock_analog/clock_analog.dart';
Example #
class ClockAnalog extends StatelessWidget {
const ClockAnalog({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child:ClockAnalog(
initialTime: TimeOfDay.now(),
onChanged: (value) {
},
),
),
);
}
}