Add demo account to Flutter client also

This commit is contained in:
Juan José Mata
2026-02-18 11:22:44 +01:00
parent 42724335ab
commit 2c50bd1d9a

View File

@@ -197,24 +197,23 @@ class _LoginScreenState extends State<LoginScreen> {
width: 80, width: 80,
height: 80, height: 80,
), ),
const SizedBox(height: 8), const SizedBox(height: 24),
Text.rich( Text.rich(
TextSpan( TextSpan(
style: Theme.of(context).textTheme.bodyLarge?.copyWith( style: Theme.of(context).textTheme.bodyLarge?.copyWith(
color: colorScheme.onSurfaceVariant, color: colorScheme.onSurfaceVariant,
), ),
children: [ children: [
const TextSpan(text: 'Please '), const TextSpan(text: 'Demo account or '),
TextSpan( TextSpan(
text: 'Sign Up', text: 'Sign Up',
style: TextStyle( style: TextStyle(
color: colorScheme.primary, color: colorScheme.primary,
decoration: TextDecoration.underline,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
), ),
recognizer: _signUpTapRecognizer, recognizer: _signUpTapRecognizer,
), ),
const TextSpan(text: ' first!'), const TextSpan(text: '!'),
], ],
), ),
textAlign: TextAlign.center, textAlign: TextAlign.center,