Jelajahi Sumber

Fix lint warning

vishnukvmd 3 tahun lalu
induk
melakukan
da55f44738
1 mengubah file dengan 20 tambahan dan 22 penghapusan
  1. 20 22
      lib/ui/settings/debug_section_widget.dart

+ 20 - 22
lib/ui/settings/debug_section_widget.dart

@@ -10,28 +10,26 @@ class DebugSectionWidget extends StatelessWidget {
 
   @override
   Widget build(BuildContext context) {
-    return Container(
-      child: Column(children: [
-        Padding(padding: EdgeInsets.all(12)),
-        SettingsSectionTitle("debug"),
-        GestureDetector(
-          behavior: HitTestBehavior.translucent,
-          onTap: () async {
-            _showKeyAttributesDialog(context);
-          },
-          child: SettingsTextItem(
-              text: "key attributes", icon: Icons.navigate_next),
-        ),
-        GestureDetector(
-          behavior: HitTestBehavior.translucent,
-          onTap: () async {
-            Network.instance.getAlice().showInspector();
-          },
-          child: SettingsTextItem(
-              text: "network requests", icon: Icons.navigate_next),
-        )
-      ]),
-    );
+    return Column(children: [
+      Padding(padding: EdgeInsets.all(12)),
+      SettingsSectionTitle("debug"),
+      GestureDetector(
+        behavior: HitTestBehavior.translucent,
+        onTap: () async {
+          _showKeyAttributesDialog(context);
+        },
+        child:
+            SettingsTextItem(text: "key attributes", icon: Icons.navigate_next),
+      ),
+      GestureDetector(
+        behavior: HitTestBehavior.translucent,
+        onTap: () async {
+          Network.instance.getAlice().showInspector();
+        },
+        child: SettingsTextItem(
+            text: "network requests", icon: Icons.navigate_next),
+      )
+    ]);
   }
 
   void _showKeyAttributesDialog(BuildContext context) {