size update

This commit is contained in:
Thomas Fransolet 2024-02-28 16:03:43 +01:00
parent cfcbf5a91f
commit 9551f5f698

View File

@ -33,7 +33,7 @@ class EventListItem extends StatelessWidget {
margin: const EdgeInsets.all(10.0),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
color: Colors.red,
//color: Colors.red,
boxShadow: const [
BoxShadow(
color: Colors.black26,
@ -136,7 +136,7 @@ class EventListItem extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
AutoSizeText(
eventAgenda.name!.length > 40 ? eventAgenda.name!.substring(0, 40) + " ..." : eventAgenda.name!,
eventAgenda.name!.length > 30 ? eventAgenda.name!.substring(0, 30) + " ..." : eventAgenda.name!,
style: TextStyle(fontSize: 14.0),
maxFontSize: 14,
textAlign : TextAlign.center