DraftModeUIRoute class final

Adaptive route helper for screen pushes within DraftModeFramework.

This keeps platform route resolution in one framework-owned place so both package widgets and example apps can opt into the same iOS/Android transition rules without duplicating inline checks.

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

build<T>(BuildContext context, {required WidgetBuilder builder, String? title}) PageRoute<T>
Builds a platform-appropriate page route for builder.
push<T>(BuildContext context, {required WidgetBuilder builder, String? title}) Future<T?>
Pushes a platform-appropriate page route for builder.
pushReplacement<T, TO>(BuildContext context, {required WidgetBuilder builder, String? title, TO? result}) Future<T?>
Pushes a platform-appropriate page route for builder, replacing the current route.