Remoção de um widget não utilizado
This commit is contained in:
parent
5b778d6523
commit
6dee93591c
|
@ -60,26 +60,6 @@ class _VisitorSearchModalTemplateComponentWidgetState
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
void _showErrorSnackbar(BuildContext context) {
|
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
|
||||||
SnackBar(
|
|
||||||
content: Text(
|
|
||||||
FFLocalizations.of(context).getVariableText(
|
|
||||||
ptText: "Visitante já adicionado.",
|
|
||||||
enText: "Visitor already added."),
|
|
||||||
),
|
|
||||||
duration: const Duration(seconds: 3),
|
|
||||||
backgroundColor: FlutterFlowTheme.of(context).error,
|
|
||||||
dismissDirection: DismissDirection.up,
|
|
||||||
behavior: SnackBarBehavior.floating,
|
|
||||||
margin: EdgeInsets.only(
|
|
||||||
bottom: MediaQuery.of(context).size.height - 150,
|
|
||||||
left: 10,
|
|
||||||
right: 10),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
Loading…
Reference in New Issue