renamed game_history_empty_builder to top_centered_message
This commit is contained in:
14
lib/presentation/widgets/top_centered_message.dart
Normal file
14
lib/presentation/widgets/top_centered_message.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
Widget TopCenteredMessage(String message) {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(top:100),
|
||||
margin: EdgeInsets.only(left: 10, right: 10),
|
||||
alignment: Alignment.topCenter,
|
||||
child: Text(
|
||||
"$message",
|
||||
style: TextStyle(fontSize: 20),
|
||||
textAlign: TextAlign.center,
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user