analog_clock_picker 0.0.2 analog_clock_picker: ^0.0.2 copied to clipboard
package for pick time using analog clock.
A customable time picker using analog clock format
Features #
- Customizable background
- Customizable handle
- Ability to change period AM/PM type via Controller
- Fluid animation movement of clock hand
Getting started #
dependencies:
analog_clock_picker: latest
Usage #
AnalogClockController analogClockController = AnalogClockController();
AnalogClockPicker(
controller: analogClockController,
size: MediaQuery.of(context).size.width * 0.74,
secondHandleColor: const Color(0xfff64245),
minutesHandleColor: Colors.black,
hourHandleColor: Colors.black,
clockBackground: Image.asset(
AssetImages.clockBackground,
),
)