diff --git a/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart b/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart index f8d67e9..9de54b5 100644 --- a/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart +++ b/packages/flutterfire_remote_parameter_fetcher/example/lib/main.dart @@ -55,18 +55,22 @@ class _MainAppState extends State { return MaterialApp( home: Scaffold( appBar: AppBar(title: const Text('FlutterFireRemoteParameterFetcher')), - body: ListView( - padding: const EdgeInsets.all(16), - children: [ - Text('RemoteParameter value: $_intParameterValue'), - const SizedBox(height: 16), - FilledButton( - onPressed: () async { - await _intRemoteParameter.activateAndRefetch(); - }, - child: const Text('Activate and refetch'), - ), - ], + body: Padding( + padding: const EdgeInsets.all(32), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + Text('RemoteParameter value: $_intParameterValue'), + const SizedBox(height: 16), + FilledButton( + onPressed: () async { + await _intRemoteParameter.activateAndRefetch(); + }, + child: const Text('Activate and refetch'), + ), + ], + ), ), ), );