Browse Source

➕ add SafeArea in example

xuty 5 years ago
parent
commit
d90b9555dc
1 changed files with 3 additions and 1 deletions
  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),
+      ),
     );
   }
 }