
uj5u.com熱心網友回復:
不要把它放在身體里,試試這個:
Scaffold(
appBar: PreferredSize(
preferredSize: Size.fromHeight(250),
child: Stack(
alignment: Alignment.center,
clipBehavior: Clip.none,
children: [
AppBar(
centerTitle: true,
elevation: 0,
backgroundColor: Color(0xFFf65d46),
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(
bottomRight: Radius.circular(100),
bottomLeft: Radius.circular(100)
// bottomLeft: Radius.circular(-1000),
),
),
),
Positioned(
bottom: -75 ,
child: CircleAvatar(
backgroundImage: AssetImage('assets/images/logo_2.png'),
radius: 75,
),
),
],
),
),
body: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: const [],
),
)

轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/535036.html
標籤:扑镖颤动布局
下一篇:為什么我們在專案中使用Bloc?
