samarthagarwal / FlutterScreens

A collection of Screens and attractive UIs built with Flutter ready to be used in your applications. No external libraries are used. Just download, add to your project and use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login Screens - Botoom Overflowed by 76 Pixels

mue-barakat opened this issue · comments

Using the latest Flutter SDK



import 'package:flutter/material.dart';

import 'package:myapp/login_screen_1.dart';


class Login extends StatefulWidget{
  @override
  _LoginState createState()=>new _LoginState();
}
class _LoginState extends State <Login>{
  @override
  void initState()  {
    super.initState();
  }

  @override
  Widget build (BuildContext context){
    return new Scaffold(
      body:_homeWidget()
    );
  }
  Widget _homeWidget(){
    return new Container(
	child: LoginScreen1(
	primaryColor: Color(0xFF4aa0d5),
	backgroundColor: Colors.white,
	backgroundImage: new AssetImage("assets/images/full-bloom.png"),
    ),
);
  }
  
}

i get Bottom Overflowed by 76 Pixels, on Samsung S7 Edge

You can reduce Padding on Line#35 to fix this. These screens are not responsive so these may require you a little bit of tweaking.

You can wrap it in a scroll list - ListView