This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
packages/quick_actions/quick_actions Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.5.0+1
2+
3+ * Updated example app implementation.
4+
15## 0.5.0
26
37* Migrate to null safety.
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class MyHomePage extends StatefulWidget {
3232}
3333
3434class _MyHomePageState extends State <MyHomePage > {
35- String shortcut = " no action set" ;
35+ String shortcut = ' no action set' ;
3636
3737 @override
3838 void initState () {
@@ -63,7 +63,9 @@ class _MyHomePageState extends State<MyHomePage> {
6363 icon: 'ic_launcher' ),
6464 ]).then ((value) {
6565 setState (() {
66- shortcut = "actions ready" ;
66+ if (shortcut == 'no action set' ) {
67+ shortcut = 'actions ready' ;
68+ }
6769 });
6870 });
6971 }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: quick_actions
22description : Flutter plugin for creating shortcuts on home screen, also known as
33 Quick Actions on iOS and App Shortcuts on Android.
44homepage : https://github.com/flutter/plugins/tree/master/packages/quick_actions
5- version : 0.5.0
5+ version : 0.5.0+1
66
77flutter :
88 plugin :
You can’t perform that action at this time.
0 commit comments