Browse Source

➕ add SafeArea in example

xuty 5 năm trước cách đây
mục cha
commit
d90b9555dc
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      example/lib/main.dart

+ 3 - 1
example/lib/main.dart

@@ -51,7 +51,9 @@ class _MyHomePageState extends State<MyHomePage> {
   @override
   Widget build(BuildContext context) {
     return Scaffold(
-      body: TerminalView(terminal: terminal),
+      body: SafeArea(
+        child: TerminalView(terminal: terminal),
+      ),
     );
   }
 }