UIWindowManagerState class
- Inheritance
-
- Implemented types
-
Methods
-
activate()
→ void
-
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
build(BuildContext context)
→ Widget
-
Describes the part of the user interface represented by this widget.
override
-
changeIndex(Widget child)
→ void
-
-
deactivate()
→ void
-
Called when this object is removed from the tree.
inherited
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
inherited
-
didChangeDependencies()
→ void
-
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(covariant UIWindowManager oldWidget)
→ void
-
Called whenever the widget configuration changes.
inherited
-
dispose()
→ void
-
Called when this object is removed from the tree permanently.
inherited
-
initState()
→ void
-
Called when this object is inserted into the tree.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble()
→ void
-
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
removeTop()
→ void
-
override
-
removeWidget(Widget widget, {dynamic result})
→ void
-
override
-
setState(VoidCallback fn)
→ void
-
Notify the framework that the internal state of this object has changed.
inherited
-
showAlert(AlertWidget widget, {int defaultValue = 0, bool barrierDismissible = true, Color? barrierColor = Colors.black54})
→ Future<int?>
-
override
-
showBy(Widget widget, ContextGetter contextGetter)
→ void
-
showBy基本都show菜单等,所以暂时不提供返回值
override
-
showDlg<T>(Widget widget, {bool barrierDismissible = true, Color? barrierColor = Colors.black54, dynamic result})
→ Future<T?>
-
var app1 = await widget.manager.showDlg;则系统认为T是Object?
var app1; app1 = await widget.manager.showDlg;则系统认为T是dynamic;
App app1 = await widget.manager.showDlg;则系统认为T是Future
override
-
showWidget<T>(Widget widget, {Widget? background, int level = 0, bool dragAble = false, double? top, double? left, double? right, double? bottom, bool indexAble = false, bool edgeAble = false})
→ Future<T?>
-
override
-
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode
-
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String
-
A string representation of this object.
inherited
-
toStringShort()
→ String
-
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
totast(String content, [int timeoutSeconds = 3])
→ void
-
自动弹出totast;
当内容比较多时,自动往下排;
定时消失时,自动网上移动;
override
-
update()
→ void
-