【发布时间】:2018-12-17 07:32:12
【问题描述】:
我想按照给定的图像设计一个布局,
我使用了 PreferredSize,我的代码是,
PreferredSize(
preferredSize: Size.fromHeight(200.0),
child: AppBar(
// title: Text('Profile'),
title: Row(
children: <Widget>[
Icon(Icons.account_circle, size: 150.0),
Text('data'),
],
),
bottom: TabBar(
tabs: [
.
.
],
),
),
),
输出与预期设计不同,检查一下,
我该如何解决这个问题?
【问题讨论】: