expanded method
Make a Column Expanded. Example:
Column(
children: [
MaterialButton(child: Text('Button 1'), onPressed: () {}).expanded(),
Text("Hello world"),
],
),
Implementation
Expanded expanded({Key? key, int flex = 1}) {
return Expanded(
child: this,
key: key,
flex: flex,
);
}