alternative to row widget lfutter code example
Example 1: next row column in flutter
var phoneNumber = new Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Expanded(
child: new Padding(
padding: const EdgeInsets.all(20.0),
child: countryCodePicker,
),
),
Expanded(
child: new Padding(
padding: const EdgeInsets.all(20.0),
child: mobileNumber,
),
),
],
);
Example 2: cross acces alignment in flutter
Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ Container( color: Colors.blue, height: 50.0, width: 50.0, ), Icon(Icons.adjust, size: 50.0, color: Colors.pink), Icon(Icons.adjust, size: 50.0, color: Colors.purple,), Icon(Icons.adjust, size: 50.0, color: Colors.greenAccent,), Container( color: Colors.orange, height: 50.0, width: 50.0, ), Icon(Icons.adjust, size: 50.0, color: Colors.cyan,), ],);