flutter_addons 1.2.1 copy "flutter_addons: ^1.2.1" to clipboard
flutter_addons: ^1.2.1 copied to clipboard

Flutter Addons is a collection of extensions and utilities designed to simplify and accelerate the development of Flutter applications.

example/lib/main.dart

import 'package:example/home_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_addons/flutter_addons.dart';

// Example of ThemeEngine
final lightTheme = ThemePainter(LightSoul());
final darkTheme = ThemePainter(DarkSoul());
void main() {
  runApp(MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return UIConfig(
      frame: const Size(360, 890),
      minTextAdapt: true,
      splitScreenMode: true,
      builder: (_, child) {
        return MaterialApp(
          debugShowCheckedModeBanner: false,
          title: 'Addons Example',
          theme: lightTheme.themeData,
          darkTheme: darkTheme.themeData,
          home: HomePage(),
        );
      },
    );
  }
}
1
likes
0
points
232
downloads

Publisher

verified publisherflutterwiki.com

Weekly Downloads

Flutter Addons is a collection of extensions and utilities designed to simplify and accelerate the development of Flutter applications.

Repository (GitHub)
View/report issues

Topics

#theme #utils #extensions #responsive #spacing

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_addons