Skip to content

Commit

Permalink
Merge pull request Purus#28 from fzyzcjy/master
Browse files Browse the repository at this point in the history
add null safety
  • Loading branch information
Purus authored Mar 6, 2021
2 parents a85487e + e721a5b commit 087699b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: launch_review_example
description: Demonstrates how to use the launch_review plugin.

environment:
sdk: '>=2.10.0 <3.0.0'

dependencies:
flutter:
sdk: flutter
Expand Down
4 changes: 2 additions & 2 deletions lib/launch_review.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class LaunchReview {
///
/// Set writeReview to false to only show the app store page. Used only in iOS.
static Future<void> launch(
{String androidAppId,
String iOSAppId,
{String? androidAppId,
String? iOSAppId,
bool writeReview = true,
bool isiOSBeta = false}) async {
await _channel.invokeMethod('launch', {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ flutter:
pluginClass: LaunchReviewPlugin

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
sdk: '>=2.12.0 <3.0.0'
flutter: ">=0.1.4 <2.0.0"

0 comments on commit 087699b

Please sign in to comment.