xxxxxxxxxx
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Scrollable Column'),
),
body: SingleChildScrollView(
child: Column(
children: <Widget>[
// Your column's widgets
Text('Widget 1'),
Text('Widget 2'),
Text('Widget 3'),
// ... add more widgets
],
),
),
),
);
}
}
xxxxxxxxxx
return new Container(
child: new SingleChildScrollView(
child: new Column(
children: <Widget>[
_showChild1(),
_showChild2(),
_showChildN()
]
)
)
);
xxxxxxxxxx
return Expanded(
child: SingleChildScrollView(
child: Column(
children: [
_child1(),
_child2()
]
)
)
);