overlayment 0.1.0 copy "overlayment: ^0.1.0" to clipboard
overlayment: ^0.1.0 copied to clipboard

outdated

Show a dialog, notification, window, or a panel easily. use helping widgets like AutoComplete, Expander(Dropdown).

example/lib/main.dart

import 'package:example/screens/main_screen.dart';
import 'package:flutter/material.dart';
import 'package:overlayment/overlayment.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    final key = GlobalKey<NavigatorState>();
    Overlayment.navigationKey = key;
    return MaterialApp(
      navigatorKey: key,
      home: Scaffold(
        appBar: AppBar(
          centerTitle: true,
          title: const Text('Overlayment'),
        ),
        body: const MainScreen(),
        floatingActionButton: FloatingActionButton(
          onPressed: Overlayment.dismissAll,
          child: const Icon(Icons.close),
        ),
      ),
    );
  }
}
44
likes
0
pub points
85%
popularity

Publisher

verified publisherqlevar.de

Show a dialog, notification, window, or a panel easily. use helping widgets like AutoComplete, Expander(Dropdown).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on overlayment