Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SecondPage extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: Color(0xFF2d3447),
- body: Column(
- children: <Widget>[
- SizedBox(height: 5),
- Row(
- children: <Widget>[
- Expanded(
- child: Container(
- height: 100,
- width: 200,
- child: Center(
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- children: <Widget>[
- Row(
- mainAxisAlignment: MainAxisAlignment.start,
- children: <Widget>[
- RaisedButton(
- child: Text('Freccia'),
- onPressed: () {
- Navigator.of(context).push(
- MaterialPageRoute(
- builder: (context) => FirstPage(),
- ),
- );
- },
- ),
- Spacer(),
- ],
- ),
- TextField(
- decoration: InputDecoration(
- border: InputBorder.none,
- hintText: 'Abitudine',
- ),
- ),
- ],
- ),
- ),
- decoration: BoxDecoration(
- borderRadius: BorderRadius.circular(5),
- color: Colors.white,
- ),
- ),
- ),
- ],
- ),
- ],
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement