【发布时间】:2022-12-01 01:22:46
【问题描述】:
有一个顶部和底部的间隙,我如何扩大或删除它?
下面是我的代码,请指教,谢谢
class Introduction extends StatefulWidget {
const Introduction({super.key});
@override
State<Introduction> createState() => _IntroductionState();
}
class _IntroductionState extends State<Introduction> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(children: [
Expanded(
child: Container(
color: Color.fromARGB(255, 255, 255, 255),
child: const Center(
child: Image(
height: 3000,
width: 1000,
image: AssetImage("lib/images/instruction.png"))),
))
]));
}
}
【问题讨论】: