Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BtnTextField extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return FractionallySizedBox(
- heightFactor: 0.3,
- widthFactor: .8,
- child: Row(
- children: <Widget>[
- Expanded(
- child: RaisedButton(
- onPressed: () {},
- child: Text('Button with EditText'),
- ),
- ),
- Expanded(
- child: TextField(
- decoration: InputDecoration(hintText: 'Hint EditText'),
- ),
- )
- ],
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement