Explorar el Código

➕ add SafeArea in example

xuty hace 5 años
padre
commit
d90b9555dc
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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),
+      ),
     );
   }
 }