Przeglądaj źródła

➕ add SafeArea in example

xuty 5 lat temu
rodzic
commit
d90b9555dc
1 zmienionych plików z 3 dodań i 1 usunięć
  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),
+      ),
     );
   }
 }