format
This commit is contained in:
@@ -10,4 +10,4 @@ Widget PrimaryContainer(Widget childWidget) {
|
||||
),
|
||||
child: childWidget,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:game_tracker/core/custom_theme.dart';
|
||||
|
||||
Widget PrimaryOutlinedButton({
|
||||
required String text,
|
||||
required onPressed,
|
||||
}) {
|
||||
Widget PrimaryOutlinedButton({required String text, required onPressed}) {
|
||||
return SizedBox(
|
||||
height: 65,
|
||||
child: OutlinedButton(
|
||||
@@ -20,15 +17,12 @@ Widget PrimaryOutlinedButton({
|
||||
child: Text(
|
||||
text,
|
||||
textAlign: TextAlign.center,
|
||||
softWrap: true,
|
||||
softWrap: true,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 2,
|
||||
style: const TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 15,
|
||||
),
|
||||
maxLines: 2,
|
||||
style: const TextStyle(color: Colors.white, fontSize: 15),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user