Skip to content

Commit

Permalink
update feature_discovery to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Wei committed Jan 23, 2021
1 parent 1f950f3 commit 9213363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/routes/plugins_feature_discovery_ex.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class FeatureDiscoveryExample extends StatelessWidget {

@override
Widget build(BuildContext context) {
return const FeatureDiscovery(
child: _DemoPage(),
return FeatureDiscovery(
child: const _DemoPage(),
);
}
}
Expand Down Expand Up @@ -154,7 +154,6 @@ class _DemoPageState extends State<_DemoPage> {
Future<void> _showDiscovery() async {
// !Clear the "feature discovered" data, otherwise it'll show up only for
// !the first time.
// ?? v0.13.0 doesn't seems to work, so I use version 0.12.0 instead.
await FeatureDiscovery.clearPreferences(context,
<String>{_kFeatureId1Add, _kFeatureId2Sub, _kFeatureId3Refresh});
// ! Start feature discovery
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:
convex_bottom_bar: ^2.6.0
english_words: 3.1.5
extended_image: ^1.3.1-dev
feature_discovery: ^0.12.0
feature_discovery: ^0.13.0+2
firebase_analytics: 6.0.2
firebase_auth: 0.18.1+2
firebase_core: 0.5.0+1
Expand Down

0 comments on commit 9213363

Please sign in to comment.