edgeinsets 1 [플러터] Padding 에 대하여 Padding 이란 공간에 여백을 주는 것입니다. 위젯이 많은 페이지의 경우 경계를 구분하기 어려울 때가 있습니다. 이때 Padding 위젯을 이용하여 어느 면이나 모든 면에 여백을 추가할 수 있습니다. import 'package:flutter/material.dart'; void main() => runApp(FirstPage()); class FirstPage extends StatelessWidget{ @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("Padding Example"), ), body: Center( child: GridView.count(crossA.. 2020. 5. 9. 이전 1 다음