A plugin with only one method showPageDialog
which shows a Page or a Dialog depending on the device.
- Add the dependency in the
pubspec.yaml
file
page_dialog: ^0.0.1
-
Call
flutter pub get
or justpub get
-
Import the package
import 'package:page_dialog/page_dialog.dart'
- Use it by calling
showPageDialog