theme_mode_builder 1.0.2 copy "theme_mode_builder: ^1.0.2" to clipboard
theme_mode_builder: ^1.0.2 copied to clipboard

A Flutter package for handling theme in an app and also saving it on the device in a hive box.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:theme_mode_builder/theme_mode_builder.dart';
import 'package:theme_mode_builder_example/theme_mode_builder_example_app.dart';

Future<void> main() async {
  /// ensure widgets are initialized
  WidgetsFlutterBinding.ensureInitialized();

  /// initialize theme mode builder
  await ThemeModeBuilderConfig.ensureInitialized(
    subDir: "Theme Mode Builder Example",
  );

  /// Runs the app :)
  runApp(ThemeModeBuilderExampleApp());
}
22
likes
120
pub points
35%
popularity

Publisher

unverified uploader

A Flutter package for handling theme in an app and also saving it on the device in a hive box.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, hive, hive_flutter, stacked

More

Packages that depend on theme_mode_builder