mirrored_repositories/OCR-and-language-translation/App Development/ocrLanProject/lib
import 'package:flutter/material.dart';

import './login_page.dart';

class Sorry extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Sorry'),
        backgroundColor: Colors.pinkAccent,
        actions: <Widget>[
          FlatButton.icon(
              onPressed: () {
                Navigator.pushReplacement(context,
                    MaterialPageRoute(builder: (context) => LoginPage()));
              },
              icon: Icon(Icons.power_settings_new),
              label: Text('Go Back')),
        ],
      ),
      body: Container(
        decoration: BoxDecoration(
          image: DecorationImage(
              image: AssetImage("assets/img/sorry.jpg"), fit: BoxFit.fill),
        ),
      ),
    );
  }
}
