EsigErrorWidget class
Widgets distinado aos casos nos quais ocorreu um erro interno no app e alguma tarefa não pôde ser completada.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- EsigErrorWidget
Constructors
- EsigErrorWidget({Key? key, String? ilustracaoAsset, BoxConstraints? tamanhoIlustracao, String? titulo, double? tituloFontSize, EdgeInsets? tituloPadding, required String mensagem, double? mensagemFontSize, EdgeInsets? mensagemPadding, void onTryAgain()?, Color? tryAgainBackgroundColor, Color? tryAgainTextColor})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ilustracaoAsset → String?
-
Caminho do asset declarado no
pubspec.yaml
. A imagem está configurada comfit: BoxFit.contain
.final - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mensagem → String
-
Mensagem explicando o motivo deste widget aparecer.
final
- mensagemFontSize → double?
-
Tamanho da mensagem. Valor padrão é o mesmo do Flutter.
final
- mensagemPadding → EdgeInsets?
-
Padding em torno da mensagem. Valor padrão é EdgeInsets.all(8.0)
final
- onTryAgain → (void Function()?)
-
Função chamada ao apertar botão TENTAR NOVAMENTE. O botão só é exibido se
o parâmetro receber um valor.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tamanhoIlustracao → BoxConstraints?
-
Constraints máximos e mínimos da ilustração.
final
- titulo → String?
-
Texto em negrito logo abaixo da ilustração e acima da
menssagem
.final - tituloFontSize → double?
-
Tamanho do texto no título. Valor padrão é o mesmo do Flutter.
final
- tituloPadding → EdgeInsets?
-
Padding em torno do título. Padrão é EdgeInsets.all(8.0).
final
- tryAgainBackgroundColor → Color?
-
cor no fundo do botão. Valor é atribuído ao
backgroundColor
do ButtonStyle.final - tryAgainTextColor → Color?
-
Cor do texto dentro do botão de TENTAR NOVAMENTE. Valor é atribuído ao
foregroundColor
do ButtonStyle.final
Methods
-
botaoRefresh(
BuildContext context) → ElevatedButton -
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
buildIlustracao(
) → Container -
buildMensagem(
) → Padding -
buildTitulo(
) → Padding -
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}) → 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