flutter format

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-04 20:04:59 +05:30
parent 46a45005cc
commit 8421faa450
+23 -23
View File
@@ -400,30 +400,30 @@ class _MessageWidgetState extends State<MessageWidget> {
), ),
color: _getBackgroundColor(), color: _getBackgroundColor(),
child: InkWell( child: InkWell(
onLongPress: () => onLongPress: () =>
onLongPress(context), onLongPress(context),
child: Padding( child: Padding(
padding: EdgeInsets.all( padding: EdgeInsets.all(
hasFiles ? 2.0 : 0.0), hasFiles ? 2.0 : 0.0),
child: Column( child: Column(
crossAxisAlignment: crossAxisAlignment:
CrossAxisAlignment CrossAxisAlignment
.start, .start,
mainAxisSize: mainAxisSize:
MainAxisSize.min, MainAxisSize.min,
children: <Widget>[ children: <Widget>[
if (_hasQuotedMessage) if (_hasQuotedMessage)
_buildQuotedMessage( _buildQuotedMessage(
isMyMessage), isMyMessage),
..._parseAttachments( ..._parseAttachments(
context),
if (widget.message.text
.trim()
.isNotEmpty &&
!isGiphy)
_buildTextBubble(
context), context),
], if (widget.message.text
.trim()
.isNotEmpty &&
!isGiphy)
_buildTextBubble(
context),
],
), ),
), ),
), ),