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

nambah back

parent ed9c4abe
......@@ -17,7 +17,10 @@ class _ForgotPasswordState extends State<ForgotPassword> {
return Stack(
children: [
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: const EdgeInsets.all(21.0),
......
......@@ -29,7 +29,10 @@ class _loginState extends State<login> {
setPageTitle('Login MedApps', context);
var screenSize = MediaQuery.of(context).size;
return Scaffold(
body: Container(
body: Stack(
children: [
Container(
decoration: const BoxDecoration(
image: DecorationImage(
image: AssetImage("assets/images/bg-medapp.png"),
......@@ -43,6 +46,7 @@ class _loginState extends State<login> {
bottom: screenSize.height * 0.13),
child: Stack(
children: [
Container(
decoration: BoxDecoration(
color: const Color.fromARGB(255, 10, 116, 255),
......@@ -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