one_clock 1.0.6 copy "one_clock: ^1.0.6" to clipboard
one_clock: ^1.0.6 copied to clipboard

outdated

Flutter analog and digital clock plugin. This plugin can be used to draw beautiful analog as well as digital clock for your flutter application

Flutter One Clock Widget #

pub package

Clean and fully customizable clock widget.

Note: This package is inspired from the analog_clock package which is for showing analog clock only. You can check that package here analog_clock folder.

Analog Clock Screenshot

Digital Clock Screenshot

Installation #

In your pubspec.yaml file within your Flutter Project:

dependencies:
  one_clock: ^1.0.6

Features #

  • Modern and clean analog as well as digital clock interface.
  • Customize as per your need.
  • Live clock.

Usage #

import 'package:one_clock/one_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),
	);

DigitalClock(
	showSeconds: false,
	digitalClockColor: Colors.black,
	decoration:BoxDecoration(
		border://
		color://
		shape://
	)
	 datetime: DateTime.now())

Parameters #

Flutter Analog Clock Parameters

35
likes
0
pub points
91%
popularity

Publisher

verified publishercomplexcoders.com

Flutter analog and digital clock plugin. This plugin can be used to draw beautiful analog as well as digital clock for your flutter application

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on one_clock