From 1d721389263a08e57b2e60dd3eca4d4280d196c7 Mon Sep 17 00:00:00 2001 From: jantunesmesias Date: Mon, 12 Aug 2024 14:43:58 -0300 Subject: [PATCH] WIP --- .../visitor_not_found_component_widget.dart | 4 ++-- ...visitor_search_modal_template_component_widget.dart | 10 +++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/components/molecular_components/visitor_not_found_component/visitor_not_found_component_widget.dart b/lib/components/molecular_components/visitor_not_found_component/visitor_not_found_component_widget.dart index 3f5b04da..f68f8317 100644 --- a/lib/components/molecular_components/visitor_not_found_component/visitor_not_found_component_widget.dart +++ b/lib/components/molecular_components/visitor_not_found_component/visitor_not_found_component_widget.dart @@ -46,8 +46,8 @@ class _VisitorNotFoundComponentWidgetState Widget build(BuildContext context) { return SingleChildScrollView( child: Container( - width: MediaQuery.of(context).size.width, - height: MediaQuery.of(context).size.height, + // width: MediaQuery.of(context).size.width, + // height: MediaQuery.of(context).size.height, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, borderRadius: const BorderRadius.only( diff --git a/lib/components/templates_components/visitor_search_modal_template_component/visitor_search_modal_template_component_widget.dart b/lib/components/templates_components/visitor_search_modal_template_component/visitor_search_modal_template_component_widget.dart index 7e85e4a7..0239cf0b 100644 --- a/lib/components/templates_components/visitor_search_modal_template_component/visitor_search_modal_template_component_widget.dart +++ b/lib/components/templates_components/visitor_search_modal_template_component/visitor_search_modal_template_component_widget.dart @@ -485,13 +485,9 @@ class _VisitorSearchModalTemplateComponentWidgetState context: context, builder: (context) { return Dialog( - child: Container( - color: Colors.transparent, - width: MediaQuery.of(context).size.height * 0.1, - height: MediaQuery.of(context).size.height * 0.4, - child: VisitorNotFoundComponentWidget( - doc: _model.textController.text, - )), + child: VisitorNotFoundComponentWidget( + doc: _model.textController.text, + ), ); }, ).then((value) => safeSetState(() {