Tab class
Constructors
-
Tab({Key? key, required String to, required bool replace, Target? target, ReferrerPolicy? referrer, String? classes, Styles? styles, Map<String, String>? attributes, Component? child, Color? hoverColor, List<Component>? children})
-
const
Properties
-
attributes
→ Map<String, String>?
-
Other attribute values applied to the anchor element.
final
-
child
→ Component?
-
Child component to render inside the anchor element.
final
-
children
→ List<Component>?
-
Child components to render inside the anchor element.
final
-
classes
→ String?
-
The
class attribute value applied to the anchor element.
final
-
The extra data to attach to the new route.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hoverColor
→ Color?
-
final
-
key
→ Key?
-
Controls how one component replaces another component in the tree.
finalinherited
-
referrer
→ ReferrerPolicy?
-
The
referrerpolicy attribute value applied to the anchor element.
final
-
replace
→ bool
-
Whether to replace the route instead of pushing.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
styles
→ Styles?
-
The
style attribute value applied to the anchor element.
final
-
target
→ Target?
-
Whether to preload the target route when the link is hovered.
final
-
to
→ String
-
The url to navigate to.
final
Methods
-
createElement()
→ Element
-
Creates a
StatefulElement to manage this component's location in the tree.
inherited
-
createState()
→ State<StatefulComponent>
-
Creates the mutable state for this component at a given location in the tree.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited