-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b26a94b
commit 609f603
Showing
8 changed files
with
123 additions
and
17 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:mvp/constants/themeColours.dart'; | ||
import 'package:mvp/screens/location.dart'; | ||
|
||
class NotServing extends StatelessWidget { | ||
final String userEmail; | ||
NotServing({this.userEmail}); | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
backgroundColor: Colors.white, | ||
body: Container( | ||
child: Center( | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.center, | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
children: <Widget>[ | ||
Container( | ||
width: MediaQuery.of(context).size.width * 0.8, | ||
child: Text( | ||
"We do not yet serve in your location. We are expanding everyday. Stay tuned!", | ||
style: TextStyle( | ||
color: ThemeColoursSeva().dkGreen, | ||
fontSize: 24.0, | ||
fontWeight: FontWeight.bold), | ||
), | ||
), | ||
SizedBox(height: 30.0), | ||
RaisedButton( | ||
onPressed: () { | ||
// back to page | ||
Navigator.pushReplacement( | ||
context, | ||
MaterialPageRoute( | ||
builder: (context) => GoogleLocationScreen( | ||
userEmail: userEmail, | ||
))); | ||
}, | ||
child: Text( | ||
"Change Address", | ||
style: TextStyle(fontSize: 18.0), | ||
), | ||
color: Colors.white, | ||
elevation: 0.0, | ||
textColor: ThemeColoursSeva().dkGreen, | ||
) | ||
], | ||
), | ||
)), | ||
); | ||
} | ||
} |
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
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