1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 06:49:22 +00:00

Add a padding to the page

This commit is contained in:
Pierre HUBERT 2020-05-17 14:56:21 +02:00
parent cac23dd620
commit d70c2751bb

View File

@ -45,13 +45,16 @@ class _UserPageTabletState extends State<UserPageTablet> {
bool get _isCurrentUser => _userInfo.id == userID();
@override
Widget build(BuildContext context) => Flex(
Widget build(BuildContext context) => Padding(
padding: const EdgeInsets.all(8.0),
child: Flex(
direction: Axis.horizontal,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
_buildLeftColumn(),
Expanded(child: _buildRightColumn())
],
),
);
Widget _buildLeftColumn() => Column(