SeoBottomNavigationBar class
A BottomNavigationBar widget that also supports injecting semantic HTML for SEO purposes when running on the web.
This class is designed to render both the Flutter UI widget
and an equivalent HTML <nav> element for search engines.
It implements SeoInjectableLayout so it can integrate with
the Flutter DOM UI SEO system.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SeoBottomNavigationBar
- Implemented types
Constructors
-
Creates a SeoBottomNavigationBar.
const
Properties
- backgroundColor → Color?
-
The background color of the navigation bar.
final
- currentIndex → int
-
The index of the currently selected item.
final
- elevation → double?
-
The elevation of the navigation bar's material.
final
- enableFeedback → bool?
-
Whether the navigation bar should provide acoustic and/or haptic feedback.
final
- fixedColor → Color?
-
The color of the navigation bar when a fixed color layout is used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconSize → double
-
The size of the icons in the navigation items.
final
-
items
→ List<
BottomNavigationBarItem> -
The interactive items to display inside the navigation bar.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- landscapeLayout → BottomNavigationBarLandscapeLayout?
-
Defines the layout of items when in landscape mode.
final
- mouseCursor → MouseCursor?
-
The mouse cursor to use when hovering over items.
final
- onTap → void Function(int)?
-
Called when a navigation item is tapped.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedFontSize → double
-
The font size for selected item labels.
final
- selectedIconTheme → IconThemeData?
-
The icon theme applied to selected icons.
final
- selectedItemColor → Color?
-
The color used for selected items.
final
- selectedLabelStyle → TextStyle?
-
The text style for selected item labels.
final
- showSelectedLabels → bool?
-
Whether to show labels for selected items.
final
- showUnselectedLabels → bool?
-
Whether to show labels for unselected items.
final
- type → BottomNavigationBarType?
-
Defines how the items are laid out in the navigation bar.
final
- unselectedFontSize → double
-
The font size for unselected item labels.
final
- unselectedIconTheme → IconThemeData?
-
The icon theme applied to unselected icons.
final
- unselectedItemColor → Color?
-
The color used for unselected items.
final
- unselectedLabelStyle → TextStyle?
-
The text style for unselected item labels.
final
- useLegacyColorScheme → bool
-
Whether to use the legacy color scheme for the navigation bar.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
injectHtmlTo(
WebHTMLElement parent) → void -
Injects an HTML representation of the navigation bar into the DOM.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited