WIP
This commit is contained in:
parent
5b9e11da5a
commit
2609f1bdda
|
@ -249,32 +249,24 @@ Widget messageHistoryItem(BuildContext context, dynamic jsonBody) {
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Padding(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
padding: const EdgeInsets.symmetric(horizontal: 15.0),
|
||||||
children: [
|
child: Column(
|
||||||
Column(
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Row(
|
||||||
jsonBody['MSG_DESTINO_TP'] == 'T'
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
? Icons.group
|
mainAxisSize: MainAxisSize.max,
|
||||||
: Icons.person,
|
children: [
|
||||||
color: FlutterFlowTheme.of(context).primary,
|
Icon(
|
||||||
size: 25,
|
jsonBody['MSG_DESTINO_TP'] == 'T'
|
||||||
),
|
? Icons.group
|
||||||
Icon(
|
: Icons.person,
|
||||||
Icons.history,
|
color: FlutterFlowTheme.of(context).primary,
|
||||||
color: FlutterFlowTheme.of(context).customColor6,
|
size: 25,
|
||||||
size: 15,
|
),
|
||||||
),
|
Expanded(
|
||||||
],
|
child: Text(
|
||||||
),
|
|
||||||
Expanded(
|
|
||||||
child: Padding(
|
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 15.0),
|
|
||||||
child: Column(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
|
||||||
Text(
|
|
||||||
jsonBody['MSG_ORIGEM_DESC'].toString(),
|
jsonBody['MSG_ORIGEM_DESC'].toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
|
@ -283,21 +275,36 @@ Widget messageHistoryItem(BuildContext context, dynamic jsonBody) {
|
||||||
),
|
),
|
||||||
overflow: TextOverflow.fade,
|
overflow: TextOverflow.fade,
|
||||||
),
|
),
|
||||||
SizedBox(height: 4),
|
),
|
||||||
Text(
|
].divide(const SizedBox(width: 10)),
|
||||||
|
),
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
|
mainAxisSize: MainAxisSize.max,
|
||||||
|
children: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 5),
|
||||||
|
child: Icon(
|
||||||
|
Icons.history,
|
||||||
|
color: FlutterFlowTheme.of(context).customColor6,
|
||||||
|
size: 15,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
child: Text(
|
||||||
jsonBody['MSG_DATE'].toString(),
|
jsonBody['MSG_DATE'].toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
color: FlutterFlowTheme.of(context).customColor6,
|
color: FlutterFlowTheme.of(context).customColor6,
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
),
|
),
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
),
|
].divide(const SizedBox(width: 20)),
|
||||||
),
|
),
|
||||||
),
|
].divide(const SizedBox(height: 4)),
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 8),
|
SizedBox(height: 8),
|
||||||
Row(
|
Row(
|
||||||
|
|
Loading…
Reference in New Issue