[英]How to put icon center of another icon in flutter
You should use "Stack" control in which you have to add the first icon with "Pin" and same add another with "Carry"您应该使用“堆栈”控件,您必须在其中添加带有“Pin”的第一个图标,并使用“Carry”添加另一个图标
Widget getStack() {
return Stack(
children: <Widget>[
Center(
child: Icon(Icons.account_balance),
),
Center(
child: Icon(Icons.account_balance),
)
],
);
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.