https://github.com/furkantektas/analog_clock
⌚️Analog Clock widget for Flutter ⏰
https://github.com/furkantektas/analog_clock
clock flutter flutter-package flutter-plugin null-safety plugin
Last synced: 5 months ago
JSON representation
⌚️Analog Clock widget for Flutter ⏰
- Host: GitHub
- URL: https://github.com/furkantektas/analog_clock
- Owner: furkantektas
- License: mit
- Created: 2019-04-26T20:41:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-06T19:04:35.000Z (over 1 year ago)
- Last Synced: 2024-06-19T00:36:56.356Z (over 1 year ago)
- Topics: clock, flutter, flutter-package, flutter-plugin, null-safety, plugin
- Language: Dart
- Homepage:
- Size: 576 KB
- Stars: 165
- Watchers: 4
- Forks: 40
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter Analog Clock Widget
[](https://pub.dartlang.org/packages/analog_clock)
Clean and fully customizable analog clock widget.

## Installation
In your `pubspec.yaml` file within your Flutter Project:
```yaml
dependencies:
analog_clock: ^0.1.0
```
## Features
- Modern and clean analog clock interface.
- Fully customizable.
- Live clock.
- Custom datetime.
## Usage
```dart
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

## Example
Demo app can be found in the [`example/`](https://github.com/furkantektas/analog_clock/tree/master/example) folder.