chore: Adjust onboarding design

This commit is contained in:
Krille Fear 2022-12-29 20:38:13 +01:00
commit 075a5faa9c
7 changed files with 101 additions and 103 deletions

View file

@ -94,13 +94,14 @@ class SignupPageView extends StatelessWidget {
tag: 'loginButton',
child: Padding(
padding: const EdgeInsets.all(12),
child: ElevatedButton(
child: ElevatedButton.icon(
icon: const Icon(Icons.person_add_outlined),
style: ElevatedButton.styleFrom(
foregroundColor: Theme.of(context).colorScheme.onPrimary,
backgroundColor: Theme.of(context).colorScheme.primary,
),
onPressed: controller.loading ? () {} : controller.signup,
child: controller.loading
label: controller.loading
? const LinearProgressIndicator()
: Text(L10n.of(context)!.signUp),
),