bullseye/lib/score.dart
Tony Bark cacbfc5fda Massive overhaul
- The project was restarted using Android Studio.
- Adoptive platform-specific widgets has been removed due to build issues with Android.
- Dual-licensed under the BSD-3-Clause license and UNLICENSE.
2022-09-05 13:56:05 -04:00

44 lines
984 B
Dart

import 'package:flutter/material.dart';
class Score extends StatelessWidget {
Score({Key? key, @required this.totalScore, @required this.round})
: super(key: key);
final int? totalScore;
final int? round;
@override
Widget build(BuildContext context) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
TextButton(
child: Text("Start Over"),
onPressed: () {},
),
Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
children: [
Text("Score:"),
Text("$totalScore"),
],
),
),
Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
children: [
Text("Round:"),
Text("$round"),
],
),
),
TextButton(
child: Text("Info"),
onPressed: () {},
)
],
);
}
}