Initial commit

Add Space version 2.0.1
This commit is contained in:
friebetill
2022-03-28 14:56:00 +02:00
commit 80f218097d
1258 changed files with 59763 additions and 0 deletions

View File

@ -0,0 +1,32 @@
import 'package:flutter/material.dart';
import '../../../i18n/i18n.dart';
import '../../../widgets/stadium_button.dart';
import '../../login/component/login_form/login_form_component.dart';
class SendInstructionsButton extends StatelessWidget {
const SendInstructionsButton({
required this.onTap,
required this.isLoading,
Key? key,
}) : super(key: key);
final VoidCallback onTap;
final bool isLoading;
@override
Widget build(BuildContext context) {
return SizedBox(
height: widgetHeight,
width: double.infinity,
child: StadiumButton(
text: S.of(context).sendInstructions.toUpperCase(),
onPressed: onTap,
backgroundColor: Theme.of(context).colorScheme.primary,
textColor: Theme.of(context).colorScheme.onPrimary,
boldText: true,
isLoading: isLoading,
),
);
}
}