Compare commits
2 Commits
abb0fcbbd6
...
514e0f8064
| Author | SHA1 | Date | |
|---|---|---|---|
| 514e0f8064 | |||
| ff47ef38c1 |
@@ -126,7 +126,7 @@ class _GroupProfileViewState extends State<GroupProfileView> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 5),
|
const SizedBox(height: 5),
|
||||||
Text(
|
Text(
|
||||||
"${loc.created_on} ${DateFormat('dd.MM.yyyy').format(widget.group.createdAt)}",
|
"${loc.created_on} ${DateFormat('MMM d, yyyy').format(widget.group.createdAt)}",
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
color: CustomTheme.textColor,
|
color: CustomTheme.textColor,
|
||||||
@@ -137,8 +137,11 @@ class _GroupProfileViewState extends State<GroupProfileView> {
|
|||||||
InfoTile(
|
InfoTile(
|
||||||
title: loc.members,
|
title: loc.members,
|
||||||
icon: Icons.people,
|
icon: Icons.people,
|
||||||
|
horizontalAlignment: CrossAxisAlignment.start,
|
||||||
content: Wrap(
|
content: Wrap(
|
||||||
spacing: 8,
|
runAlignment: WrapAlignment.start,
|
||||||
|
crossAxisAlignment: WrapCrossAlignment.start,
|
||||||
|
spacing: 16,
|
||||||
runSpacing: 8,
|
runSpacing: 8,
|
||||||
children: widget.group.members.map((member) {
|
children: widget.group.members.map((member) {
|
||||||
return TextIconTile(
|
return TextIconTile(
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class InfoTile extends StatefulWidget {
|
|||||||
this.padding,
|
this.padding,
|
||||||
this.height,
|
this.height,
|
||||||
this.width,
|
this.width,
|
||||||
|
this.horizontalAlignment = CrossAxisAlignment.center,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// The title text displayed on the tile.
|
/// The title text displayed on the tile.
|
||||||
@@ -37,6 +38,9 @@ class InfoTile extends StatefulWidget {
|
|||||||
/// Optional width for the tile.
|
/// Optional width for the tile.
|
||||||
final double? width;
|
final double? width;
|
||||||
|
|
||||||
|
/// The main axis alignment for the content.
|
||||||
|
final CrossAxisAlignment horizontalAlignment;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<InfoTile> createState() => _InfoTileState();
|
State<InfoTile> createState() => _InfoTileState();
|
||||||
}
|
}
|
||||||
@@ -51,7 +55,7 @@ class _InfoTileState extends State<InfoTile> {
|
|||||||
decoration: CustomTheme.standardBoxDecoration,
|
decoration: CustomTheme.standardBoxDecoration,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: widget.horizontalAlignment,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: game_tracker
|
name: game_tracker
|
||||||
description: "Game Tracking App for Card Games"
|
description: "Game Tracking App for Card Games"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 0.0.8+227
|
version: 0.0.8+231
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.8.1
|
sdk: ^3.8.1
|
||||||
|
|||||||
Reference in New Issue
Block a user