child: Column(...,crossAxisAlignment: CrossAxisAlignment.start)
flutter:
assets:
- assets/images/
child: Image(
height: 100,
image: AssetImage('assets/images/img1.png'),
),
// const int grey50 = 0xFFFAFAFA;
const Text(
'Name',
style: TextStyle(
fontSize: 14,
color: Color(grey400),
),
),
const SizedBox(height: 20),
return Scaffold(
appBar: AppBar(
title: const Text('Material App Bar'),
),
body: Column(
children: <Widget>[
const Center(
child: Image(),
),
],
),
);
- scafold->padding...->column
return Scaffold(
body: Padding(
child: Column(
children: <Widget>[
const Center(
child: Image(),
),
],
),
),
);
children: [Icon(Icons.tv)],
children: [
ElevatedButton.icon(
onPressed: (){},
icon: const Icon(Icons.delete),
label: const Text('delete quote'),
)
],