MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
2 changed files with 42 additions and 26 deletions
Showing only changes of commit c31d757615 - Show all commits

View File

@@ -70,7 +70,11 @@ class _CreateGroupViewState extends State<CreateGroupView> {
decoration: InputDecoration( decoration: InputDecoration(
filled: true, filled: true,
fillColor: CustomTheme.boxColor, fillColor: CustomTheme.boxColor,
hint: Text("Group name", style: TextStyle(fontSize: 18)), hint: Text(
"Group name",
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 18),
),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(12)), borderRadius: BorderRadius.all(Radius.circular(12)),
borderSide: BorderSide(color: CustomTheme.boxBorder), borderSide: BorderSide(color: CustomTheme.boxBorder),
@@ -161,11 +165,14 @@ class _CreateGroupViewState extends State<CreateGroupView> {
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
SizedBox(width: 12), SizedBox(width: 12),
Text( Flexible(
selectedPlayer.name, child: Text(
style: const TextStyle( selectedPlayer.name,
fontSize: 14, overflow: TextOverflow.ellipsis,
fontWeight: FontWeight.w500, style: const TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
),
), ),
), ),
SizedBox(width: 3), SizedBox(width: 3),
@@ -277,11 +284,14 @@ class _CreateGroupViewState extends State<CreateGroupView> {
MainAxisAlignment.spaceBetween, MainAxisAlignment.spaceBetween,
mainAxisSize: MainAxisSize.max, mainAxisSize: MainAxisSize.max,
children: [ children: [
Text( Flexible(
suggestedPlayers[index].name, child: Text(
style: TextStyle( suggestedPlayers[index].name,
fontSize: 16, overflow: TextOverflow.ellipsis,
fontWeight: FontWeight.w500, style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w500,
),
), ),
), ),
IconButton( IconButton(

View File

@@ -24,24 +24,29 @@ class GroupTile extends StatelessWidget {
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Text( Flexible(
group.name, child: Text(
overflow: TextOverflow.ellipsis, group.name,
style: const TextStyle( overflow: TextOverflow.ellipsis,
fontWeight: FontWeight.bold, style: const TextStyle(
fontSize: 18, fontWeight: FontWeight.bold,
fontSize: 18,
),
), ),
), ),
const Spacer(), Row(
Text( children: [
'${group.members.length}', Text(
style: const TextStyle( '${group.members.length}',
fontWeight: FontWeight.w900, style: const TextStyle(
fontSize: 18, fontWeight: FontWeight.w900,
), fontSize: 18,
),
),
const SizedBox(width: 3),
const Icon(Icons.group, size: 22),
],
), ),
const SizedBox(width: 3),
const Icon(Icons.group, size: 22),
], ],
), ),
const SizedBox(height: 5), const SizedBox(height: 5),
@@ -64,6 +69,7 @@ class GroupTile extends StatelessWidget {
child: Skeleton.ignore( child: Skeleton.ignore(
child: Text( child: Text(
member.name, member.name,
overflow: TextOverflow.ellipsis,
style: const TextStyle( style: const TextStyle(
fontSize: 14, fontSize: 14,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,