This commit is contained in:
jantunesmesias 2024-08-12 14:43:58 -03:00
parent 1b06219bfa
commit 1d72138926
2 changed files with 5 additions and 9 deletions

View File

@ -46,8 +46,8 @@ class _VisitorNotFoundComponentWidgetState
Widget build(BuildContext context) { Widget build(BuildContext context) {
return SingleChildScrollView( return SingleChildScrollView(
child: Container( child: Container(
width: MediaQuery.of(context).size.width, // width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height, // height: MediaQuery.of(context).size.height,
decoration: BoxDecoration( decoration: BoxDecoration(
color: FlutterFlowTheme.of(context).primaryBackground, color: FlutterFlowTheme.of(context).primaryBackground,
borderRadius: const BorderRadius.only( borderRadius: const BorderRadius.only(

View File

@ -485,13 +485,9 @@ class _VisitorSearchModalTemplateComponentWidgetState
context: context, context: context,
builder: (context) { builder: (context) {
return Dialog( return Dialog(
child: Container( child: VisitorNotFoundComponentWidget(
color: Colors.transparent, doc: _model.textController.text,
width: MediaQuery.of(context).size.height * 0.1, ),
height: MediaQuery.of(context).size.height * 0.4,
child: VisitorNotFoundComponentWidget(
doc: _model.textController.text,
)),
); );
}, },
).then((value) => safeSetState(() { ).then((value) => safeSetState(() {