-
if you want to pass function
delete
fromclass A
toclass B
- don't use :
final Function? delete
; - but use :
final VoidCallback? delete
;
- don't use :
-
if you get the error
null
:
useString foo?
;foo!
; -
if you want to use
wait B.fun(await ...)
inclass A
:- you must add
Future<void/int> fun(){await ...}
inclass B
- than use the
await B.fun..
inclass A
- but don't forget to add
async
inclass A
..
- you must add
-
if you want to use the
hot reload
by pluginflutter-tools
- use the script to
kill
thepid
of app that running
- use the script to