WIP
This commit is contained in:
parent
518bdf412e
commit
e8f33ae26b
|
@ -203,8 +203,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
|||
setState(() {});
|
||||
},
|
||||
title: FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Schedule\nVisit',
|
||||
ptText: 'Agendar\nVisita',
|
||||
enText: 'Schedule Visit',
|
||||
ptText: 'Agendar Visita',
|
||||
),
|
||||
),
|
||||
MenuCardItem(
|
||||
|
@ -214,8 +214,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
|||
setState(() {});
|
||||
},
|
||||
title: FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Register\nVisitor',
|
||||
ptText: 'Cadastro\nde Visitante',
|
||||
enText: 'Register Visitor',
|
||||
ptText: 'Cadastro de Visitante',
|
||||
),
|
||||
),
|
||||
MenuCardItem(
|
||||
|
@ -225,8 +225,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
|||
setState(() {});
|
||||
},
|
||||
title: FFLocalizations.of(context).getVariableText(
|
||||
enText: 'QRCode\nAccess',
|
||||
ptText: 'QRCode\nde Acesso',
|
||||
enText: 'QRCode Access',
|
||||
ptText: 'QRCode de Acesso',
|
||||
),
|
||||
),
|
||||
MenuCardItem(
|
||||
|
@ -236,8 +236,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
|||
setState(() {});
|
||||
},
|
||||
title: FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Poeple on\nthe Property',
|
||||
ptText: 'Pessoas\nna Propriedade',
|
||||
enText: 'Poeple on the Property',
|
||||
ptText: 'Pessoas na Propriedade',
|
||||
),
|
||||
),
|
||||
MenuCardItem(
|
||||
|
@ -247,8 +247,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
|||
setState(() {});
|
||||
},
|
||||
title: FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Consult\nHistories',
|
||||
ptText: 'Consultar\nHistoricos',
|
||||
enText: 'Consult Histories',
|
||||
ptText: 'Consultar Historicos',
|
||||
),
|
||||
),
|
||||
MenuCardItem(
|
||||
|
@ -258,8 +258,8 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
|
|||
setState(() {});
|
||||
},
|
||||
title: FFLocalizations.of(context).getVariableText(
|
||||
enText: 'Preferences\nSettings',
|
||||
ptText: 'Preferências\nde Configuração',
|
||||
enText: 'Preferences Settings',
|
||||
ptText: 'Preferências de Configuração',
|
||||
),
|
||||
),
|
||||
];
|
||||
|
|
|
@ -126,8 +126,8 @@ class _MenuListViewComponentWidgetState
|
|||
itemCount: widget.options.length,
|
||||
itemBuilder: (context, index) {
|
||||
return SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.1,
|
||||
width: MediaQuery.of(context).size.width * 0.1,
|
||||
height: MediaQuery.of(context).size.height * 0.08,
|
||||
width: MediaQuery.of(context).size.width * 0.08,
|
||||
child: widget.options[index],
|
||||
);
|
||||
},
|
||||
|
|
|
@ -315,7 +315,7 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
|||
|
||||
SizedBox buildDrawer(BuildContext context) {
|
||||
return SizedBox(
|
||||
width: 750.0,
|
||||
width: MediaQuery.of(context).size.width * 0.8,
|
||||
child: Drawer(
|
||||
elevation: 16.0,
|
||||
child: Container(
|
||||
|
@ -533,17 +533,19 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
|||
),
|
||||
),
|
||||
Expanded(
|
||||
child: wrapWithModel(
|
||||
model: _model.menuComponentModel,
|
||||
updateCallback: () => setState(() {}),
|
||||
child: const MenuComponentWidget(
|
||||
expandable: false,
|
||||
style: MenuView.list,
|
||||
item: MenuItem.tile,
|
||||
child: SingleChildScrollView(
|
||||
child: wrapWithModel(
|
||||
model: _model.menuComponentModel,
|
||||
updateCallback: () => setState(() {}),
|
||||
child: const MenuComponentWidget(
|
||||
expandable: false,
|
||||
style: MenuView.list,
|
||||
item: MenuItem.tile,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
].addToEnd(const SizedBox(height: 64.0)),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue