我尝试调整应用栏的大小,但没有用:
appBar: PreferredSize(
preferredSize:
Size.fromHeight(60.0),
child: Container(
margin: EdgeInsets.all(8.0),
child: AppBar(
title: Text('Login'),
),
),
),