text

felipe2408

·

dart

·

Plain Text

·

Total Size: 4.17 KB

·

·

Created: 1 month ago

·

Edited: 1 month ago

Column( mainAxisAlignment: MainAxisAlignment.center, children:<Widget> [ SizedBox(height:size.height*0.4,), Align( alignment: Alignment.center, child: Container( padding: EdgeInsets.symmetric(horizontal: 20,vertical: 5), //alignment: Alignment.center, child: TextField( decoration: InputDecoration( hintText: "Correo", hintStyle: TextStyle(color: Colors.white), filled: true, enabledBorder: new OutlineInputBorder( borderSide: BorderSide( style: BorderStyle.solid, color: Color.fromRGBO(0, 248, 148, 1), width: 1.5 ), borderRadius: BorderRadius.circular(40) ), icon: Icon(Icons.email,color: Colors.white,) ), ), ), ), SizedBox(height:size.height*0.01,), Expanded( flex: 2, child: Align( // alignment: Alignment.topCenter, child: Container( padding: EdgeInsets.symmetric(horizontal: 20,vertical: 5), //alignment: Alignment.center, child: TextField( //autofocus: true, obscureText: true, style: TextStyle(color: Colors.white), decoration: InputDecoration( hintText: "contraseƱa", hintStyle: TextStyle(color: Colors.white), filled: true, enabledBorder: new OutlineInputBorder( borderSide: BorderSide( style: BorderStyle.solid, color: Color.fromRGBO(0, 248, 148, 1), width: 1.5 ), borderRadius: BorderRadius.circular(40) ), icon: Icon(Icons.lock,color: Colors.white,) ), ), ), ), ), SizedBox(height:size.height*0.1,), Align( alignment: Alignment.center, child: FlatButton( onPressed: (){ }, color: Color.fromRGBO(0, 72, 43, 50), padding: EdgeInsets.symmetric(horizontal: 60,vertical: 15), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(21) ), child: Text('Ingresar',style: TextStyle(color: Colors.white),), ), ), SizedBox(height:size.height*0.2,), Align( alignment: Alignment.bottomCenter, child: FlatButton( onPressed: (){ }, color: Color.fromRGBO(63, 142, 112, 1), padding: EdgeInsets.symmetric(horizontal: 60,vertical: 15), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(21) ), child: Text('Registrate',style: TextStyle(color: Colors.white),), ), ), ], ),

2 bits

31 views

Are you sure you want to delete?