我一行包含两个svg图像和两个文本。我想一些文本应该出现在svg图像上。请帮助我。谢谢您
final heading_register=new Container(
color: const Color(0xFF008000),
padding: const EdgeInsets.all(5.0),
child: Row(
children: <Widget>[
Stack(
children: <Widget>[
svgIcon,
Center(child: Text("1")),
]
),
Expanded(
child: Text('New Registartion',style: new TextStyle(color: Colors.white,fontWeight: FontWeight.bold,fontSize: 16.0),),
),
Stack(
children: <Widget>[
svgIcon,
Text("1",textAlign: TextAlign.end,),
]
),
Expanded(
child: Text('Total Registartion',style: new TextStyle(color: Colors.white,fontWeight: FontWeight.bold,fontSize: 16.0),),
),
],
),
);
答案 0 :(得分:0)