FlutterToast
FlutterToast copied to clipboard
About eg
ToastContext().init(context);
but init Function is not static Function,I will report an error if I write like this.
error:Instance member 'init' can't be accessed using static access.
I only
var toastContext = ToastContext(); toastContext.init(context);
why u can do that?