title: Flutter Login Backround Image Flutter_login package
body: <p>I have been trying to add a custom image as the background of my app, but I could not.
  How do I change the background image to whatever I want of the login page below, instead of having a color:</p>
  
  <pre><code>import 'package:flutter/material.dart';
  import 'package:flutter_login/flutter_login.dart';
  
  class LoginScreen extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        debugShowCheckedModeBanner: false,
        home: FlutterLogin(
        title: 'Test',
        logo: 'assets/images/ecorp.png',
        onLogin: (_) =&gt; Future(null),
        onSignup: (_) =&gt; Future(null),
        onSubmitAnimationCompleted: () {
          /*
          Navigator.of(context).pushReplacement(MaterialPageRoute(
            builder: (context) =&gt; DashboardScreen(),
          ));*/
        },
        onRecoverPassword: (_) =&gt; Future(null),
        messages: LoginMessages(
          usernameHint: 'Username',
          passwordHint: 'Pass',
          confirmPasswordHint: 'Confirm',
          loginButton: 'LOG IN',
          signupButton: 'REGISTER',
          forgotPasswordButton: 'Forgot Password',
          recoverPasswordButton: 'HELP ME',
          goBackButton: 'GO BACK',
          confirmPasswordError: 'Not match!',
          recoverPasswordSuccess: 'Password recovered successfully',
        ),
          theme: LoginTheme(
            primaryColor: Colors.red,
          ),
        ),
      );
    }
  }
  </code></pre>