Switch to Sizebox for memory title

This commit is contained in:
Neeraj Gupta 2023-05-03 17:12:50 +05:30
parent 2232ea6766
commit 936b8ad526
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -32,7 +32,9 @@ class _MemoryCovertWidgetState extends State<MemoryCovertWidget> {
);
setState(() {});
},
child: Expanded(
child: SizedBox(
height: 100,
width: 92,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Column(
@ -45,6 +47,7 @@ class _MemoryCovertWidgetState extends State<MemoryCovertWidget> {
type: MaterialType.transparency,
child: Text(
title,
overflow: TextOverflow.ellipsis,
style: getEnteTextTheme(context).mini,
textAlign: TextAlign.center,
),