mirror of
https://github.com/amigan/calls.git
synced 2024-11-21 20:39:47 -05:00
wip
This commit is contained in:
parent
7768c96453
commit
3192c4c6c9
1 changed files with 27 additions and 16 deletions
|
@ -17,10 +17,10 @@ class LCD extends StatelessWidget {
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: _lcdColor,
|
color: _lcdColor,
|
||||||
border: const Border(
|
border: const Border(
|
||||||
top: BorderSide(width: 3.0, color: Colors.black),
|
top: BorderSide(width: 3.0, color: Color.fromARGB(255, 94, 94, 94)),
|
||||||
left: BorderSide(width: 3.0, color: Colors.black),
|
left: BorderSide(width: 3.0, color: Color.fromARGB(255, 63, 63, 63)),
|
||||||
bottom: BorderSide(width: 3.0, color: Colors.white),
|
bottom: BorderSide(width: 3.0, color: Colors.white),
|
||||||
right: BorderSide(width: 3.0, color: Colors.white),
|
right: BorderSide(width: 3.0, color: Color.fromARGB(255, 229, 229, 229)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
margin: const EdgeInsets.all(16.0),
|
margin: const EdgeInsets.all(16.0),
|
||||||
|
@ -62,19 +62,30 @@ class LCD extends StatelessWidget {
|
||||||
Text('Q: $queueLen'),
|
Text('Q: $queueLen'),
|
||||||
]),
|
]),
|
||||||
Row(
|
Row(
|
||||||
children: [Flexible(
|
children: [Column(
|
||||||
child: Column(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Row(
|
||||||
|
children: [
|
||||||
|
ConstrainedBox(
|
||||||
|
constraints: BoxConstraints(maxWidth: MediaQuery.sizeOf(context).width / 1.6),
|
||||||
|
child: Text(
|
||||||
'${tgi.data?.name ?? (_call?.call.talkgroup ?? '')}${tgi.data?.learned ?? false ? ' 📓' : ''}',
|
'${tgi.data?.name ?? (_call?.call.talkgroup ?? '')}${tgi.data?.learned ?? false ? ' 📓' : ''}',
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 20.0,
|
fontSize: 20.0,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
)),
|
)),
|
||||||
Text(_call != null ? '${_call.call.talkgroup}' : ''),
|
),
|
||||||
]),
|
Text(_call != null ? '${_call.call.talkgroup}' : '',
|
||||||
)]),
|
textAlign: TextAlign.end,
|
||||||
|
style: const TextStyle(
|
||||||
|
fontSize: 10,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
Text(tgi.data != null ? tgi.data!.group : ''),
|
||||||
|
])]),
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
|
|
Loading…
Reference in a new issue