FLUTTER ECOSYSTEM

furkantektas/analog_clock

⌚️Flutter용 아날로그 시계 위젯 ⏰

analog_clock 프로젝트 이미지
Stars
166
Forks
40
최근 푸시(UTC)
2024. 6. 6.
프로젝트 상태
활성
Furkan Tektas GitHub avatar
GITHUB User

Furkan Tektas ↗

🤹‍♂️ Data

언어DartHTMLSwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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.