From aad3e851221970213d9e8c6934fefd7faffe1193 Mon Sep 17 00:00:00 2001 From: shirne Date: Sun, 17 Sep 2023 08:43:04 +0800 Subject: [PATCH] fix --- example/lib/custom_page.dart | 2 +- example/lib/main.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lib/custom_page.dart b/example/lib/custom_page.dart index 5bee66a..af652bd 100644 --- a/example/lib/custom_page.dart +++ b/example/lib/custom_page.dart @@ -66,10 +66,10 @@ class ToastInnerPage extends StatelessWidget { title: Text(title), ), body: SingleChildScrollView( + padding: const EdgeInsets.all(8), child: Column( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ - const SizedBox(height: 8), Wrap( children: [ ElevatedButton( diff --git a/example/lib/main.dart b/example/lib/main.dart index 0fc59ea..c7146e2 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -101,10 +101,10 @@ class _MyHomePageState extends State { ], ), body: SingleChildScrollView( + padding: const EdgeInsets.all(8), child: Column( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ - const SizedBox(height: 8), Row( mainAxisAlignment: MainAxisAlignment.center, children: [