Icon
π¬ λ¨Έν°λ¦¬μΌ λμμΈμ© κΈ°λ³Έ μμ΄μ½λ€μ Icons ν΄λμ€μ μμλ‘ λ―Έλ¦¬ μ μλμ΄ μλ€.
Icon(
Icons.home,
color: Colors.red,
size: 60.0, // κΈ°λ³Έκ° 24.0
),
Progress
π¬ λ‘λ© μ€μ΄κ±°λ μ€λ 걸리λ μμ μ ν λ μ¬μ©μμκ² μ§ν μ€μμ 보μ¬μ£Όλ μ©λλ‘ μ¬μ©νλ μμ ―μ΄λ€.
CircularProgressIndicator()
β»οΈ λ₯κ·Ό ννμ νλ‘κ·Έλ μ€λ°μ΄λ©°, λ€λ₯Έ νλ©΄ μμ κ²Ήμ³μ νμνλ―λ‘ Stack μμ ―μΌλ‘ κ²Ήμ³μ μ¬μ©νλ€.
LinearProgressIndicator()
β»οΈ μ ννμ νλ‘κ·Έλ μ€λ°μ΄λ€.
RefreshIndicator
RefreshIndicator(
child: _widgets,
onRefresh: _refresh,
),
π¬ λΉκ²¨μ μλ‘κ³ μΉ¨νλ κΈ°λ₯μ μΆκ°ν μ μλ€. μ£Όλ‘ ListViewλ₯Ό Wrapνλ μ©λλ‘ μ¬μ©λλ€.
ColorFiltered
ColorFiltered(
colorFilter: const ColorFilter.mode(
Colors.red,
BlendMode.modulate,
),
child: Image.network(_url),
),
π¬ μμ ν¨κ³Όλ₯Ό μ£Όκ³ μΆμ λ μ¬μ©νλ€.
DataTable
DataTable(
columns: [
DataColumn(label: id),
DataColumn(label: name),
DataColumn(label: profession),
],
rows: [
DataRow(cells: [
DataCell(Text('1')),
DataCell(Text('Stephen')),
DataCell(Text('Actor')),
]),
DataRow(cells: [
DataCell(Text('5')),
DataCell(Text('John')),
DataCell(Text('Student')),
]),
DataRow(cells: [
DataCell(Text('10')),
DataCell(Text('Harry')),
DataCell(Text('Leader')),
]),
],
),
Drawer
π¬ μ¬μ΄λλ°λ₯Ό λ§λ€κ³ μΆμ λ
return Scaffold(
appBar: AppBar(
title: _title,
),
body: Center(
child: Container(),
),
drawer: Drawer(
child: _listView,
),
);
RotatedBox
π¬ μμ ―μ νμ μν€κ³ μΆμ λ μ¬μ©νλ€.
RotatedBox(
quarterTurns: 2,
child: Text('Hello World'),
),
'Flutter > Concept' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
[ Flutter ] μ€νΈλ¦Ό (0) | 2022.02.27 |
---|---|
[ Flutter ] 리μ€νΈ (0) | 2022.02.27 |
[ Flutter ] ν μ€νΈ (0) | 2022.02.27 |
[ Flutter ] νλ«νΌ λμ (0) | 2022.02.24 |
[ Flutter ] μ΄λ―Έμ§ (0) | 2022.02.22 |