Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/quick_actions/quick_actions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.0+1

* Updated example app implementation.

## 0.5.0

* Migrate to null safety.
Expand Down
6 changes: 4 additions & 2 deletions packages/quick_actions/quick_actions/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MyHomePage extends StatefulWidget {
}

class _MyHomePageState extends State<MyHomePage> {
String shortcut = "no action set";
String shortcut = 'no action set';

@override
void initState() {
Expand Down Expand Up @@ -63,7 +63,9 @@ class _MyHomePageState extends State<MyHomePage> {
icon: 'ic_launcher'),
]).then((value) {
setState(() {
shortcut = "actions ready";
if (shortcut == 'no action set') {
shortcut = 'actions ready';
}
});
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/quick_actions/quick_actions/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: quick_actions
description: Flutter plugin for creating shortcuts on home screen, also known as
Quick Actions on iOS and App Shortcuts on Android.
homepage: https://github.com/flutter/plugins/tree/master/packages/quick_actions
version: 0.5.0
version: 0.5.0+1

flutter:
plugin:
Expand Down