Frontend first draft
This commit is contained in:
21
frontend/pweb/lib/pages/login/signup.dart
Normal file
21
frontend/pweb/lib/pages/login/signup.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:pweb/generated/i18n/app_localizations.dart';
|
||||
|
||||
|
||||
class SignupButton extends StatelessWidget {
|
||||
final VoidCallback? onPressed;
|
||||
|
||||
const SignupButton({
|
||||
super.key,
|
||||
required this.onPressed,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return TextButton(
|
||||
onPressed: onPressed,
|
||||
child: Text(AppLocalizations.of(context)!.signup),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user