This commit is contained in:
toly
2023-04-16 11:34:01 +08:00
parent a1465d4a52
commit d0d3f9476b
3 changed files with 83 additions and 62 deletions

View File

@@ -0,0 +1,26 @@
import 'package:flutter/material.dart';
class ResultNotice extends StatelessWidget {
final Color color;
final String info;
const ResultNotice({
Key? key,
required this.color,
required this.info,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Expanded(
child: Container(
alignment: Alignment.center,
color: color,
child: Text(
info,
style: TextStyle(
fontSize: 54, color: Colors.white, fontWeight: FontWeight.bold),
),
));
}
}