You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
556 B
26 lines
556 B
import 'package:flutter/material.dart';
|
|
|
|
class PlayerText extends StatelessWidget {
|
|
final String displayName;
|
|
|
|
const PlayerText({
|
|
Key? key,
|
|
required this.displayName,
|
|
}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: const EdgeInsets.only(top: 24.0),
|
|
child: Text(
|
|
displayName,
|
|
style: const TextStyle(
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.bold,
|
|
color: Color(0xFF14407a),
|
|
letterSpacing: 2,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|