Commit 1a8fc67b authored by Budi Prasetyo's avatar Budi Prasetyo

nambah back

parent ed9c4abe
...@@ -17,7 +17,10 @@ class _ForgotPasswordState extends State<ForgotPassword> { ...@@ -17,7 +17,10 @@ class _ForgotPasswordState extends State<ForgotPassword> {
return Stack( return Stack(
children: [ children: [
Container( Container(
decoration: BoxDecoration(image: DecorationImage(image: AssetImage('assets/images/medapp_image1.png'),fit: BoxFit.fill)), decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/medapp_image2.jpg'),
fit: BoxFit.fill)),
), ),
Padding( Padding(
padding: const EdgeInsets.all(21.0), padding: const EdgeInsets.all(21.0),
......
...@@ -29,7 +29,10 @@ class _loginState extends State<login> { ...@@ -29,7 +29,10 @@ class _loginState extends State<login> {
setPageTitle('Login MedApps', context); setPageTitle('Login MedApps', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
body: Container( body: Stack(
children: [
Container(
decoration: const BoxDecoration( decoration: const BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: AssetImage("assets/images/bg-medapp.png"), image: AssetImage("assets/images/bg-medapp.png"),
...@@ -43,6 +46,7 @@ class _loginState extends State<login> { ...@@ -43,6 +46,7 @@ class _loginState extends State<login> {
bottom: screenSize.height * 0.13), bottom: screenSize.height * 0.13),
child: Stack( child: Stack(
children: [ children: [
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: const Color.fromARGB(255, 10, 116, 255), color: const Color.fromARGB(255, 10, 116, 255),
...@@ -312,6 +316,14 @@ class _loginState extends State<login> { ...@@ -312,6 +316,14 @@ class _loginState extends State<login> {
], ],
), ),
), ),
Padding(
padding: const EdgeInsets.all(21.0),
child: ElevatedButton(onPressed: (){
Navigator.pushNamed(context, '/');
}, child: Icon(Icons.arrow_back)),
),
],
),
); );
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment