Skip to content

Commit e04961f

Browse files
author
Anastasia Artemyeva
committed
Add docs
1 parent f3c6a9f commit e04961f

4 files changed

+3
-3
lines changed

doc/cupertino_alert_sample.png

71.8 KB
Loading

doc/material_alert_sample.png

83.6 KB
Loading

doc/overlay_dialog_demo.gif

828 KB
Loading

lib/src/dialog_helper.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class DialogHelper {
4141
_currentController = StreamController();
4242

4343
_currentOverlay = OverlayEntry(
44-
builder: (context) => AppearWidget(
44+
builder: (_) => AppearWidget(
4545
child: Stack(
4646
children: <Widget>[
4747
GestureDetector(
@@ -55,7 +55,7 @@ class DialogHelper {
5555
),
5656
progress: _currentController.stream,
5757
duration: DEFAULT_DURATION,
58-
style: AppearStyle.blur,
58+
style: AppearStyle.opacity,
5959
),
6060
);
6161

@@ -80,7 +80,7 @@ class DialogHelper {
8080
_currentOverlay?.remove();
8181
_currentOverlay = null;
8282
})
83-
.catchError((_){});
83+
.catchError((error){});
8484
}
8585
}
8686

0 commit comments

Comments
 (0)