Skip to content

Instantly share code, notes, and snippets.

@becek2n
Created May 8, 2020 14:44
Show Gist options
  • Save becek2n/87eb4246f27bcc6cce74d6e4fe0fc143 to your computer and use it in GitHub Desktop.
Save becek2n/87eb4246f27bcc6cce74d6e4fe0fc143 to your computer and use it in GitHub Desktop.
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