RouteUtils class

create_user: zhengzaihong email:1096877329@qq.com create_date: 2021/11/23 create_time: 10:37 describe: 路由工具

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 Methods

hideKeyboard(BuildContext context, {bool hide = true}) → void
pop<T extends Object?>(BuildContext context, [T? result, bool hide = true]) → void
push(BuildContext context, Widget page, {String? name, Object? arguments, bool noAnimation = true, bool hide = true}) Future
跳转页面
pushClearTop(BuildContext context, Widget page, {String? name, Object? arguments, bool noAnimation = true, bool hide = true}) Future
跳转到起始页并关闭所有页面
pushNamed(BuildContext context, String routeName, {Object? arguments, bool hide = true}) Future
跳转页面
pushReplaceTagPage(BuildContext context, Widget page, {String? name, Object? arguments, bool noAnimation = true, bool hide = true}) Future