Created
August 23, 2019 04:37
-
-
Save junsuk5/b7b85c2942773c96fee39e072f299ec8 to your computer and use it in GitHub Desktop.
사진공유 앱 - 메인 화면
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class MainPage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text('사진 공유 앱'), | |
), | |
body: Center( | |
child: Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
RaisedButton( | |
child: Text("사진 업로드"), | |
color: Colors.orange, | |
textColor: Colors.white, | |
onPressed: () {}, | |
), | |
RaisedButton( | |
child: Text("공유사진 보기"), | |
color: Colors.orange, | |
textColor: Colors.white, | |
onPressed: () {}, | |
), | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment