analog_clock
0.1.1, released 4 years ago by an unverified publisher
A customizable analog clock widget for Flutter.
WASM-ready
What it does
Displays an analog clock with optional live updates and custom datetime. Offers extensive visual customization such as colors, numbers, ticks, and size. Works on all Flutter platforms.
AI-written summary of version 0.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an analog clock UI in a Flutter app
- You want live time updates with custom styling
- You require a lightweight, pure‑Flutter solution
Skip it when
- You only need a digital clock
- You need advanced time‑zone or scheduling logic
- You require extensive testing or accessibility features
Strengths
- Highly customizable appearance
- Live updating and manual datetime support
- Null‑safety and cross‑platform support
Weaknesses
- Only provides analog display, no digital alternative
- Limited feature set beyond clock rendering
- No built‑in tests or extensive documentation
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:analog_clock/analog_clock.dart';
AnalogClock(
decoration: BoxDecoration(
border: Border.all(width: 2.0, color: Colors.black),
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),
);Alternatives
Packages that do the same job and could replace analog_clock.
- one_clock
Flutter analog and digital clock plugin for custom clock widgets.
54Compare - flutter_analog_clock
A simple, highly customizable analog clock widget for Flutter.
50Compare - flip_panel_plus
3D flip-panel widgets for countdowns, clocks, and custom digits
63Compare - neon_circular_timer
A customizable neon‑styled circular countdown timer widget for Flutter.
41Compare