1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +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(); bool get _isCurrentUser => _userInfo.id == userID();
@override @override
Widget build(BuildContext context) => Flex( Widget build(BuildContext context) => Padding(
direction: Axis.horizontal, padding: const EdgeInsets.all(8.0),
crossAxisAlignment: CrossAxisAlignment.start, child: Flex(
children: <Widget>[ direction: Axis.horizontal,
_buildLeftColumn(), crossAxisAlignment: CrossAxisAlignment.start,
Expanded(child: _buildRightColumn()) children: <Widget>[
], _buildLeftColumn(),
Expanded(child: _buildRightColumn())
],
),
); );
Widget _buildLeftColumn() => Column( Widget _buildLeftColumn() => Column(