您可以将 singlechildscrollview 与行一起使用
List<Step> steps = [
Step(
// Title of the Step
title: Text("Send Money"),
// Content, use SingleChildScrollView
content:SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Row(
children: <Widget>[
Container(
color: Colors.green, // Yellow
height: 200.0,
width: 200.0,
),
Image.network('https://flutter-examples.com/wp-content/uploads/2019/09/blossom.jpg',
width: 300, height: 200, fit: BoxFit.contain),
Image.network('https://flutter-examples.com/wp-content/uploads/2019/09/sample_img.png',
width: 200, fit: BoxFit.contain),
Container(
color: Colors.pink, // Yellow
height: 200.0,
width: 200.0,
),
Text('Some Sample Text - 1', style: TextStyle(fontSize: 28)),
Container(
color: Colors.redAccent, // Yellow
height: 200.0,
width: 200.0,
),
Image.network('https://flutter-examples.com/wp-content/uploads/2019/09/blossom.jpg',
width: 300, height: 200, fit: BoxFit.contain),
],
),
),
state: StepState.complete,
isActive: true),] ...