v2.0.3one_clock
Flutter-Analog- und Digitaluhr-Plugin. Dieses Plugin kann verwendet werden, um schöne Analog- und Digitale Uhren für Ihre Flutter-Anwendung zu zeichnen
54Likes 110030-Tage-Downloads140Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
Ein Paket für analoge und digitale Uhren
{"sdk":"flutter"}^0.20.2Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
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/Digital Clock Screenshot
In your pubspec.yaml file within your Flutter Project:
dependencies:
one_clock: ^2.0.2
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,
isLive:false,
digitalClockColor: Colors.black,
decoration: const BoxDecoration(
color: Colors.yellow,
shape: BoxShape.rectangle,
borderRadius: BorderRadius.all(Radius.circular(15))),
datetime: DateTime.now())
Flutter Analog Clock Parameters