DNNavigator class abstract

위젯 및 이름 기반 화면 전환을 추상화한 내비게이션 계약이다.

Implementers

Constructors

DNNavigator()

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
pop<T>([T? result]) → void
현재 경로를 닫고 선택적 result를 반환한다.
push<T>(Widget widget, {bool? immediate}) → Future<T?>
widget을 스택에 추가한다.
pushAndRemoveUntil<T>(Widget widget, {bool? immediate}) → Future<T?>
기존 경로를 모두 제거하고 widget을 표시한다.
pushNamed<T>(String routeName, {Map? arguments, bool? immediate}) → Future<T?>
routeName에 해당하는 이름 기반 경로를 스택에 추가한다.
pushNamedAndRemoveUntil<T>(String routeName, {Map? arguments, bool? immediate}) → Future<T?>
기존 경로를 모두 제거하고 routeName에 해당하는 경로를 표시한다.
pushReplacement<T, TO>(Widget widget, {bool? immediate}) → Future<T?>
현재 경로를 widget으로 교체한다.
pushReplacementNamed<T, TO>(String routeName, {Map? arguments, bool? immediate}) → Future<T?>
현재 경로를 routeName에 해당하는 이름 기반 경로로 교체한다.
route<T>(Widget widget, {bool? immediate}) → Route<T>
widget과 전환 옵션으로 Material 경로를 생성한다.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited