analog_clock 0.1.1 copy "analog_clock: ^0.1.1" to clipboard
analog_clock: ^0.1.1 copied to clipboard

Flutter Analog Clock plugin.

Flutter Analog Clock Widget #

pub package

Clean and fully customizable analog clock widget.

Flutter Analog Clock Screenshot

Installation #

In your pubspec.yaml file within your Flutter Project:

dependencies:
  analog_clock: ^0.1.0

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,
	showAllNumbers: false,
	textScaleFactor: 1.4,
	showTicks: false,
	showDigitalClock: false,
	datetime: DateTime(2019, 1, 1, 9, 12, 15),
	);

Parameters #

Flutter Analog Clock Parameters

Example #

Demo app can be found in the example/ folder.

87
likes
130
points
1.37k
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Analog Clock plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on analog_clock