flutter_analog_clock 1.0.1 copy "flutter_analog_clock: ^1.0.1" to clipboard
flutter_analog_clock: ^1.0.1 copied to clipboard

A simple, highly customizable analog clock widget.

Flutter Analog Clock #

pub package

A simple, highly customizable analog clock widget.

analog-clock

##Install

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  flutter_analog_clock: ^1.0.1

In your library add the following import:

import 'package:flutter_analog_clock/flutter_analog_clock.dart';

Usage #

1. Simple to use #

  const AnalogClock()

or

  const AnalogClock.dark()

2. Customize to use #

  AnalogClock(
    dateTime: DateTime.now(),
    isKeepTime: true,
    dialColor: Colors.white,
    dialBorderColor: Colors.black,
    dialBorderWidthFactor: 0.02,
    markingColor: Colors.black,
    markingRadiusFactor: 1.0,
    markingWidthFactor: 1.0,
    hourNumberColor: Colors.black,
    hourNumbers: const ['', '', '3', '', '', '6', '', '', '9', '', '', '12'],
    hourNumberSizeFactor: 1.0,
    hourNumberRadiusFactor: 1.0,
    hourHandColor: Colors.black,
    hourHandWidthFactor: 1.0,
    hourHandLengthFactor: 1.0,
    minuteHandColor: Colors.black,
    minuteHandWidthFactor: 1.0,
    minuteHandLengthFactor: 1.0,
    secondHandColor: Colors.black,
    secondHandWidthFactor: 1.0,
    secondHandLengthFactor: 1.0,
    centerPointColor: Colors.black,
    centerPointWidthFactor: 1.0,
  )
51
likes
0
pub points
90%
popularity

Publisher

verified publisherapp2m.com

A simple, highly customizable analog clock widget.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_analog_clock