SHARE
TWEET

Untitled

a guest May 24th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class BtnTextField extends StatelessWidget {
  2.   @override
  3.   Widget build(BuildContext context) {
  4.     return FractionallySizedBox(
  5.       heightFactor: 0.3,
  6.       widthFactor: .8,
  7.       child: Row(
  8.         children: <Widget>[
  9.           Expanded(
  10.             child: RaisedButton(
  11.               onPressed: () {},
  12.               child: Text('Button with EditText'),
  13.             ),
  14.           ),
  15.           Expanded(
  16.             child: TextField(
  17.               decoration: InputDecoration(hintText: 'Hint EditText'),
  18.             ),
  19.           )
  20.         ],
  21.       ),
  22.     );
  23.   }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top