move padding for message list inside image decoration background
This commit is contained in:
parent
a6c0e8105d
commit
7febeeadb6
|
@ -258,7 +258,7 @@ class _MessageViewState extends State<MessageView> {
|
||||||
actions: appBarButtons,
|
actions: appBarButtons,
|
||||||
),
|
),
|
||||||
body: Padding(
|
body: Padding(
|
||||||
padding: EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 182.0),
|
padding: EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 164.0),
|
||||||
child: MessageList(
|
child: MessageList(
|
||||||
scrollListener,
|
scrollListener,
|
||||||
)),
|
)),
|
||||||
|
|
|
@ -122,7 +122,10 @@ class _MessageListState extends State<MessageList> {
|
||||||
image: AssetImage("assets/core/negative_heart_512px.png"),
|
image: AssetImage("assets/core/negative_heart_512px.png"),
|
||||||
colorFilter: ColorFilter.mode(Provider.of<Settings>(context).theme.hilightElementColor.withOpacity(0.15), BlendMode.srcIn))),
|
colorFilter: ColorFilter.mode(Provider.of<Settings>(context).theme.hilightElementColor.withOpacity(0.15), BlendMode.srcIn))),
|
||||||
// Don't load messages for syncing server...
|
// Don't load messages for syncing server...
|
||||||
child: loadMessages
|
child:
|
||||||
|
Padding(
|
||||||
|
padding: EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 20.0),
|
||||||
|
child: loadMessages
|
||||||
? ScrollablePositionedList.builder(
|
? ScrollablePositionedList.builder(
|
||||||
itemPositionsListener: widget.scrollListener,
|
itemPositionsListener: widget.scrollListener,
|
||||||
itemScrollController: Provider.of<ContactInfoState>(outerContext).messageScrollController,
|
itemScrollController: Provider.of<ContactInfoState>(outerContext).messageScrollController,
|
||||||
|
@ -151,7 +154,7 @@ class _MessageListState extends State<MessageList> {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
: null))
|
: null)))
|
||||||
])));
|
])));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue