super_dialog 0.5.1 copy "super_dialog: ^0.5.1" to clipboard
super_dialog: ^0.5.1 copied to clipboard

A powerful, flexible, and beautifully animated dialog toolkit for Flutter. Create stunning dialogs with smooth slide, scale, fade, rotation, bounce, elastic, and flip animations.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'router/app_router.dart';
import 'state/app_theme_controller.dart';
import 'theme/app_theme.dart';

void main() {
  runApp(const SuperDialogExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder<ThemeMode>(
      valueListenable: appThemeMode,
      builder: (context, themeMode, child) {
        return MaterialApp.router(
          title: 'Super Dialog ERP Examples',
          debugShowCheckedModeBanner: false,
          themeMode: themeMode,
          theme: AppTheme.light,
          darkTheme: AppTheme.dark,
          routerConfig: appRouter,
          builder: (context, child) {
            return LayoutBuilder(
              builder: (context, constraints) {
                final responsiveTheme = AppTheme.forWidth(
                  Theme.of(context).brightness,
                  constraints.maxWidth,
                );
                return AnimatedTheme(
                  data: responsiveTheme,
                  duration: const Duration(milliseconds: 150),
                  child: child ?? const SizedBox.shrink(),
                );
              },
            );
          },
        );
      },
    );
  }
}
1
likes
145
points
156
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A powerful, flexible, and beautifully animated dialog toolkit for Flutter. Create stunning dialogs with smooth slide, scale, fade, rotation, bounce, elastic, and flip animations.

Repository (GitHub)
View/report issues

Topics

#dialog #animation #modal #popup #design-system

License

unknown (license)

Dependencies

flutter, super_core

More

Packages that depend on super_dialog