child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
children: [
Container(
color: Color(0xffaaaaaa),
height: 20,
child: Text(‘Jss One’)),
Text(
‘English’,
style: TextStyle(fontSize: 20),
),
],
),
),
);
},
itemCount: 50,
),
),],),));
}}
最佳答案
class _DashboardState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text(‘App Bar Here’)),
body: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(‘Hello World’),
Container(
child: ListView.builder(
physics: NeverScrollablePhysics() //add this line,
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO