Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BakerJQ committed Oct 14, 2020
1 parent 3ff8437 commit 6d4b481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/src/easy_popup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import 'easy_popup_child.dart';
import 'easy_popup_route.dart';

class EasyPopup {
///Dismiss the popup related to the specific BuildContext
static pop(BuildContext context) {
EasyPopupRoute.pop(context);
}

///Show popup
static show(
BuildContext context,
EasyPopupChild child, {
Expand All @@ -31,6 +33,7 @@ class EasyPopup {
);
}

///Set popup highlight positions
static setHighlights(BuildContext context, List<RRect> highlights) {
EasyPopupRoute.setHighlights(context, highlights);
}
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: easy_popup
description: A customized popup widget.
version: 1.0.0
author: BakerJ <[email protected]>
homepage: https://github.com/BakerJQ/flutter_easy_popup

environment:
Expand Down

0 comments on commit 6d4b481

Please sign in to comment.