Created
May 8, 2020 14:44
-
-
Save becek2n/87eb4246f27bcc6cce74d6e4fe0fc143 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class StepOneView extends StatefulWidget { | |
StepOneView({Key key}) : super(key: key); | |
@override | |
_StepOneViewState createState() => _StepOneViewState(); | |
} | |
class _StepOneViewState extends State<StepOneView>{ | |
@override | |
Widget build(BuildContext context) { | |
return Padding( | |
padding: const EdgeInsets.all(10.0), | |
child: Card( | |
child: Column( | |
children: <Widget>[ | |
new TextFormField( | |
decoration: const InputDecoration(labelText: 'Text 1'), | |
keyboardType: TextInputType.number, | |
), | |
new TextFormField( | |
decoration: const InputDecoration(labelText: 'Text 2'), | |
keyboardType: TextInputType.number, | |
), | |
], | |
), | |
) | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment