Documents
This commit is contained in:
parent
36fb78de1f
commit
05278a9cb7
|
|
@ -28,7 +28,7 @@ class ElevatedButton extends StatelessWidget {
|
|||
text: label,
|
||||
alignment: MainAxisAlignment.center,
|
||||
)
|
||||
: Text(label),
|
||||
: Text(label, overflow: TextOverflow.ellipsis),
|
||||
textColor: Colors.white,
|
||||
elevation: 4.0,
|
||||
onPressed: () => onPressed(),
|
||||
|
|
|
|||
|
|
@ -20,7 +20,13 @@ class IconText extends StatelessWidget {
|
|||
children: <Widget>[
|
||||
Icon(icon, color: style?.color),
|
||||
SizedBox(width: 10),
|
||||
Text(text ?? '', style: style),
|
||||
Flexible(
|
||||
child: Text(
|
||||
text ?? '',
|
||||
style: style,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue