ouzari / analog_clock_for_flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

analog_clock_for_flutter

Beautiful flutter analog clocks. Swipe to change the clock design

Screenshots

preview

Usage

To use plugin, just import package

import 'package:analog_clock_for_flutter/analog_clock_for_flutter.dart';

Example

You can check example directory to know how to use it.

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
          appBar: AppBar(
            title: Text('Clock demo'),
          ),
          body:
              Center(child: SizedBox(child: FlutterAnalogClock(radius: 400)))),
    );
  }
}

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 100.0%