AppNavigationFooter class final

Barra de navegação inferior flutuante (como o bottom sheet): margens destacadas, cantos arredondados, participando do eixo de estilo AppStyle (incl. glass). Um indicador deslizante (pílula) anima por trás do item ativo (mecânica do AppSegmentedButton), e um FAB isolado opcional pode aparecer ao lado (start/end), separado da barra.

Cada item suporta ícone/label/cor ativo e inativo (ativos opcionais, com fallback para o inativo). Cores 100% do tema. Sob glass, sobrepõe o conteúdo via AppScaffold (efeito Notes).

Inheritance

Constructors

AppNavigationFooter({required List<AppNavigationFooterItemData> items, required String getCurrentRoute(BuildContext context), AppStyle style = AppStyle.filled, bool? glass, AppRadiusMode? radiusMode, BorderRadius? radius, Widget? fab, AppNavFooterFabAlignment fabAlignment = AppNavFooterFabAlignment.end, EdgeInsets? itemPadding, Key? key})
Cria um AppNavigationFooter.
const

Properties

barEdge → BarEdge
Aresta que encosta no conteúdo (BarEdge.bottom header / BarEdge.top footer).
no setter
barStyle → AppStyle
Estilo de container efetivo da barra no render não-glass (já resolvido do tema, se aplicável).
no setter
fab → Widget?
FAB isolado opcional (ex.: AppFloatingButton), irmão da barra.
final
fabAlignment → AppNavFooterFabAlignment
Lado do FAB isolado. Default end.
final
getCurrentRoute → String Function(BuildContext context)
Rota atual (para destacar o item ativo).
final
glass → bool?
Override do eixo glass. null segue o global (theme.glassTheme.enabled).
final
hashCode → int
The hash code for this object.
no setterinherited
itemPadding → EdgeInsets?
Padding de cada item. Default all s8.
final
items → List<AppNavigationFooterItemData>
Itens da barra.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
radius → BorderRadius?
Override cru do raio (vence radiusMode).
final
radiusMode → AppRadiusMode?
Modo de forma dos cantos. reto = quadrado; qualquer outro = 28px.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → AppStyle
Tratamento de container (AppStyle) do render não-glass. Default filled.
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overlaysContent(BuildContext context) → bool
Se a barra deve ser sobreposta ao conteúdo (só quando o glass está ligado).
inherited
resolveBarExtent(BuildContext context) → double
Altura total que a barra ocupa (faixa de safe-area + conteúdo), para o scaffold reservar padding no conteúdo sob a barra sobreposta.
resolveGlassOn(BuildContext context) → bool
Eixo glass resolvido: override por instância (glass) ou o global da marca (theme.glassTheme.enabled). Delega ao resolvedor único do eixo.
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