page_dialog 0.0.1 page_dialog: ^0.0.1 copied to clipboard
A way to simplify handling tablet/desktop/phone.
page_dialog #
A plugin with only one method showPageDialog
which shows a Page or a Dialog depending on the device.
Getting Started #
- 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