我遇到了一些问题。我想在其中制作一个图像、一个文本和两个图标,AppBar
但我无法让它按我的意愿工作。
我试图在图像和文本之后连续制作一些字体。图像和文本成功显示在 my 中AppBar
,但其余 2 种字体(手推车和通知)显示一些错误。
Widget build(BuildContext context) {
return new Scaffold(
backgroundColor: Colors.amber,
appBar: new AppBar
(
title: new Row
(
mainAxisAlignment: MainAxisAlignment.start,
children:
[
Image.asset('images/logoapp.png',fit: BoxFit.contain,height: 32,),
Container(padding: const EdgeInsets.all(8.0), child: Text('Solid Shop'))
],
)
),
……