analog_clock_anti_clockwise 0.0.3 copy "analog_clock_anti_clockwise: ^0.0.3" to clipboard
analog_clock_anti_clockwise: ^0.0.3 copied to clipboard

none

example/lib/main.dart

import 'package:analog_clock_anti_clockwise/clock/clock_view.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';


void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'The Clock',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
        textTheme: GoogleFonts.poppinsTextTheme(
          Theme.of(context).textTheme,
        ),
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(
        elevation: 0,
        backgroundColor: Colors.transparent,
        title: Text(
          'The Clock',
          style: Theme.of(context)
              .textTheme
              .headline5!
              .copyWith(color: Colors.black),
        ),
      ),
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: const [
          Center(child: ClockView()),
        ],
      ),
    );
  }
}
7
likes
70
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

none

Documentation

API reference

License

MIT (license)

Dependencies

analog_clock, flutter, intl

More

Packages that depend on analog_clock_anti_clockwise