Professional Documents
Culture Documents
CSE-4078 Mobile Application Development: Lectures - Week 13 Sara Masood
CSE-4078 Mobile Application Development: Lectures - Week 13 Sara Masood
MOBILE APPLICATION
DEVELOPMENT
LECTURES – WEEK 13
SARA MASOOD
TEXTFIELD
TextField(
decoration: InputDecoration(
border: OutlineInputBorder(),
hintText: 'Enter a search term',
),
),
INPUTDECORATION CLASS
decoration: InputDecoration(
icon: Icon(Icons.send),
hintText: 'Hint Text',
helperText: 'Helper Text',
counterText: '0 characters',
border: OutlineInputBorder(),
),
TextFormField(
decoration: const InputDecoration(
border: UnderlineInputBorder(),
labelText: 'Enter your username',
),
),
TextField(
onChanged: (text) {
print('First text field: $text');
},
),
DROPDOWNBUTTON
Navigator.pop(context, true);
RECEIVING DATA AT MAIN PAGE