analog clock
flutter analogclock widget.
installation
in your pubspec.yaml
file within your flutter project:
dependencies:
analog_clock: ^0.0.1
features
- modern and clean analog clock interface.
- fully customizable.
- live clock.
- custom datetime.
usage
import 'package:analog_clock/analog_clock.dart';
analogclock(
decoration: boxdecoration(
border: border.all(width: 2.0, color: colors.black),
color: colors.transparent,
shape: boxshape.circle),
width: 150.0,
islive: true,
hourhandcolor: colors.black,
minutehandcolor: colors.black,
showsecondhand: false,
numbercolor: colors.black87,
shownumbers: true,
textscalefactor: 1.4,
showticks: false,
showdigitalclock: false,
datetime: datetime(2019, 1, 1, 9, 12, 15),
);
parameters
example
demo app can be found in the example/
folder.
Comments are closed.