Skip to content

Commit

Permalink
Update HomePageUI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlim56 committed Mar 21, 2020
1 parent e21438b commit 2c53203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Boundary/HomePageUI.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class HomePage extends StatefulWidget {

class _MyHomePageState extends State<HomePage> {
bool _inProcess = false;
File selectedImage;

getImage(ImageSource source) async {
this.setState(() {
_inProcess = true;
Expand All @@ -22,6 +24,7 @@ class _MyHomePageState extends State<HomePage> {
if (croppedImage != null) {
this.setState(() {
_inProcess = false;
selectedImage = croppedImage;
});
}
}
Expand Down

0 comments on commit 2c53203

Please sign in to comment.