flutter_andomie 0.5.14 copy "flutter_andomie: ^0.5.14" to clipboard
flutter_andomie: ^0.5.14 copied to clipboard

Collection of utils with advanced style and controlling system.

example/lib/main.dart

import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:flutter_andomie/core.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const Application());
}

class Application extends StatelessWidget {
  const Application({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const Home(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    var a = Time(hour: 0, minute: 0, second: 0);
    var b = Date(year: 2022, month: 1, day: 2);
    var c = b.toDateTime(a);
    log(c.toString());
    return Scaffold(
      body: SafeArea(
        child: Text(c.toRealtime(
          showRealtime: true,
          whenShowNow: 10,
        )),
      ),
    );
  }
}
3
likes
0
pub points
59%
popularity

Publisher

unverified uploader

Collection of utils with advanced style and controlling system.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

connectivity_plus, encrypt, flutter, intl, shared_preferences

More

Packages that depend on flutter_andomie