UtilInternal class
UtilInternal 内部工具类
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
Static Methods
-
addPostFrameCallback(
void callback(Duration)) → dynamic - 渲染完成回调
-
cancelFocus(
BuildContext context) → dynamic - 取消焦点, 作用于全局
-
lockHorizontalScreen(
) → dynamic - 锁定横屏
-
lockVerticalScreen(
) → Future< void> - 锁定竖屏
-
nextFocus(
BuildContext context) → dynamic - 下一焦点
-
operatingSystem(
) → String - 当前操作系统
-
requestFocus(
BuildContext context, FocusNode focusNode) → dynamic - 获取焦点
-
unfocus(
) → dynamic - 取消焦点, 取消指定 context 关联的 FocusScope 内的焦点
-
unlockScreenDirection(
) → Future< void> - 解锁屏幕方向