AFRouteSegment class
A segment in the route which specifies a screen to display, and transient data associated with that screen.
- Annotations
Constructors
- AFRouteSegment.new({required AFRouteParam param, required AFRouteSegmentChildren? children, required AFCreateDefaultChildParamDelegate? createDefaultChildParam})
-
const
-
AFRouteSegment.withParam(AFRouteParam param, List<
AFRouteParam> ? children, AFCreateDefaultChildParamDelegate? createDefaultChildParam) -
factory
Properties
- children → AFRouteSegmentChildren?
-
final
- createDefaultChildParam → AFCreateDefaultChildParamDelegate?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAFibScreen → bool
-
no setter
- param → AFRouteParam
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → AFScreenID
-
no setter
- screenId → AFScreenID
-
no setter
Methods
-
copyWith(
{AFScreenID? screen, AFRouteParam? param, AFRouteSegmentChildren? children, AFCreateDefaultChildParamDelegate? createDefaultChildParam}) → AFRouteSegment -
dispose(
) → void - called when the segment goes fully out of scope.
-
findChild(
AFID wid) → AFRouteSegment? -
matchesScreen(
AFID screen) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reviseChild(
AFRouteParam child) → AFRouteSegment -
reviseChildren(
AFRouteSegmentChildren children) → AFRouteSegment -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited