AppSideSheet class final

Painel lateral flutuante — o irmão horizontal do AppBottomSheet. Um card destacado (margem + cantos arredondados) que desliza da borda side (default end = direita) e cresce em direção ao centro. Segue as mesmas regras: eixos style/radius/motion, botão de fechar (chip), e opcionalmente arrastável.

Este widget é a superfície de repouso (útil em previews/goldens). Para exibir como modal (barrier + slide lateral + resize) use showAppSideSheet.

Inheritance

Constructors

AppSideSheet({required Widget child, AppSheetSide side = AppSheetSide.end, String? title, Widget? titleWidget, Widget? footer, bool showHandle = false, bool showCloseButton = true, AppSheetCloseSide? closeSide, VoidCallback? onCloseButton, AppStyle? style, bool? glass, AppRadiusMode? radiusMode, Key? key})
Cria um AppSideSheet (superfície de repouso).
const

Properties

child Widget
Corpo (rola sozinho na vertical).
final
closeSide AppSheetCloseSide?
Lado do botão de fechar. null → canto interno conforme side.
final
Rodapé fixo opcional.
final
glass bool?
Override do eixo glass só desta sheet. null segue o global (theme.glassTheme.enabled).
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onCloseButton VoidCallback?
Ação do botão de fechar. null → fecha (pop).
final
radiusMode AppRadiusMode?
Override do modo de forma dos cantos. null segue o global.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCloseButton bool
Mostra o botão de fechar (chip circular). Default true.
final
showHandle bool
Mostra a grabber vertical na borda interna.
final
side AppSheetSide
Borda ancorada. Default end (direita em LTR).
final
style AppStyle?
Tratamento de container (AppStyle) do render não-glass. null resolve para elevated.
final
title String?
Título opcional, centralizado na barra de topo.
final
titleWidget Widget?
Escape hatch para o título que NÃO é só texto (ícone ao lado, título reativo). Aqui a tipografia é de quem passa — a barra não a impõe.
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
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