home:
Scaffold(
appBar: AppBar(title:
Text('Text Widget in Appbar Widtget',),
centerTitle: true, //Appbar 가운데 정렬
),
body:SingleChildScrollView(...), // Scrollable 화면
...
)
Padding(
padding: const EdgeInsets.all(10.0),
child: Image.network("{IMG URL}", width: 81,),
),
Column(
children: [
TextField(
decoration: InputDecoration(labelText: 'Label text(Hint Text)'),
),
TextField(
decoration: InputDecoration(labelText: 'Label text(password)'),
obscureText: true,
), //password 필드에 * 처리
Container(
width: double.infinity, //양옆으로 최대
margin: const EdgeInsets.only(top: 16),
child: ElevatedButton( ... ),
), //Container
], // children
) // Column
appBar: AppBar(title:
Text('Text Widget in Appbar Widtget',
style: TextStyle(fontSize: 28),
),
centerTitle: true,
automaticallyImplyLeading: true,
leading:
ElevatedButton(
onPressed: (){},
child:
Text('TT'),
style: ButtonStyle(backgroundColor: MaterialStateProperty.all<Color>(Colors.white24)),),
),
special thanks to neo.