-
if you want to pass function
deletefromclass Atoclass 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
asyncinclass A..
- you must add
-
if you want to use the
hot reloadby pluginflutter-tools- use the script to
killthepidof app that running
- use the script to