overlay_manager 0.0.3 copy "overlay_manager: ^0.0.3" to clipboard
overlay_manager: ^0.0.3 copied to clipboard

Group and manage easily flutter overlays: Create a new overlay, arrange it in z-index order, check, close, and capture the return value when closed.

example/lib/main.dart

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

final navKey = GlobalKey<NavigatorState>();
final manager = GlobalOverlayManager(navigatorKey: navKey);

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      navigatorKey: navKey,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}
5
likes
150
pub points
78%
popularity

Publisher

unverified uploader

Group and manage easily flutter overlays: Create a new overlay, arrange it in z-index order, check, close, and capture the return value when closed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on overlay_manager