Browse Source

1、修改配置项ui

bakamaka.guan 2 years ago
parent
commit
c2d858ed87
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lib/components/from_configure_components/configure_text_area.dart

+ 3 - 1
lib/components/from_configure_components/configure_text_area.dart

@@ -36,7 +36,9 @@ class _FConfigureTextAreaState extends FState<FConfigureTextArea> {
             hintStyle: const TextStyle(
               fontSize: 16,
             ),
-            fillColor: Colors.white.withOpacity(0.5),
+            fillColor: widget.enabled == false
+                ? Colors.grey[100]!
+                : Colors.white.withOpacity(0.5),
             enabledBorder: const OutlineInputBorder(
               borderSide: BorderSide(
                 color: Color.fromRGBO(230, 230, 230, 1),