WidgetExten extension
Widget 扩展
- on
Methods
-
onClick(
GestureTapCallback onClick, {HitTestBehavior behavior = HitTestBehavior.translucent}) → Widget -
Available on Widget, provided by the WidgetExten extension
点击扩展 -
onClickFast(
GestureTapCallback onClick, {int clickSpaceTime = 900, HitTestBehavior behavior = HitTestBehavior.translucent}) → Widget -
Available on Widget, provided by the WidgetExten extension
点击扩展 已经 快速点击过滤 默认900 毫秒 -
show(
bool isShow, {double? width, double? height}) → Widget -
Available on Widget, provided by the WidgetExten extension
是否显示该控件 -
showFun(
bool isShow(), {double? width, double? height}) → Widget -
Available on Widget, provided by the WidgetExten extension
是否显示该控件 -
withDoubleClickExit(
Function tip, {bool isWrapWillPop = true}) → Widget -
Available on Widget, provided by the WidgetExten extension
包裹 双击 退出 -
withElseShow(
bool isShow, Widget widget) → Widget -
Available on Widget, provided by the WidgetExten extension
判断显示哪个控件 -
withElseShowFun(
bool isShow, Widget widget) → Widget -
Available on Widget, provided by the WidgetExten extension
判断显示哪个控件