FlutterPageContext class final
Active route and source file metadata returned by adapter.getPageContext().
- Annotations
Constructors
- FlutterPageContext({required String pageUrl, required String pageTitle, required String sourceFile})
-
Creates a FlutterPageContext.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageTitle → String
-
Human-readable title for the active route or appbar.
final
- pageUrl → String
-
Normalized route path (such as
'/'or'/details').final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceFile → String
-
Fallback repository-relative Dart source file for the active route.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - Converts this context into a plain JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited