FLoading constructor
const
FLoading({})
直接使用方式(该方式相比弹窗,不会对页面的堆栈产生影响,纯粹是widget层次的改变)
child 让该view为最外层布局,child 为内容区域
isLoading true时,显示loading
ignoring false时,child内不可点击
Implementation
const FLoading({
Key? key,
required this.isLoading,
required this.child,
this.ignoring = false,
}) : super(key: key);