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

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
150
pub points
84%
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on overlayment