diff --git a/lib/services/agentic_services/agents/stacgen.dart b/lib/services/agentic_services/agents/stacgen.dart index d640b735..c7986ca6 100644 --- a/lib/services/agentic_services/agents/stacgen.dart +++ b/lib/services/agentic_services/agents/stacgen.dart @@ -233,10 +233,7 @@ const SAMPLE_STAC_RULESET = """ ``` { "type": "gridView", - "physics": { - "type": "scrollPhysics", - "name": "neverScrollable" - }, + "physics": "never", "shrinkWrap": true, "padding": { "left": 10, diff --git a/lib/widgets/ai_ui_desginer_widgets.dart b/lib/widgets/ai_ui_desginer_widgets.dart index fb46aaaa..d19f2f1c 100644 --- a/lib/widgets/ai_ui_desginer_widgets.dart +++ b/lib/widgets/ai_ui_desginer_widgets.dart @@ -390,27 +390,16 @@ class _SDUIPreviewPageState extends ConsumerState { Container( width: double.infinity, decoration: BoxDecoration( - color: Colors.black, // Dark background borderRadius: BorderRadius.circular(15), - border: Border.all( - color: Colors.grey, // Border color - width: 1, - ), ), - child: TextField( + child: ADOutlinedTextField( + hintText: 'Any Modifications?', onChanged: (z) { setState(() { modificationRequest = z; }); }, maxLines: 3, // Makes the text box taller - style: TextStyle(color: Colors.white), // White text - decoration: InputDecoration( - hintText: 'Any Modifications?', - hintStyle: TextStyle(color: Colors.grey), // Grey hint text - border: InputBorder.none, // Removes the default border - contentPadding: EdgeInsets.all(16), // Padding inside the box - ), ), ), kVSpacer20,