import 'package:comwell_key_app/utils/l10n_utils.dart';
import 'package:flutter/material.dart';
class CreateUserButton extends StatelessWidget {
final Function onPressed;
const CreateUserButton({
required this.onPressed,
super.key,
});
@override
Widget build(BuildContext context) {
return OutlinedButton(
style: OutlinedButton.styleFrom(
backgroundColor: Colors.transparent,
side: const BorderSide(color: Colors.transparent),
),
onPressed: () {
onPressed();
},
child: Text(
context.strings.create_user_button,
style: TextStyle(
color: Theme.of(context).colorScheme.surface,
fontSize: 16,
fontWeight: FontWeight.w600,
backgroundColor: Colors.transparent,
),
),
);
}
}