Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

flutter form set next input

// Flutter and Dart 
// Set keyboard button to focus next input field. 
// "textInputAction: TextInputAction.next"
// or
// "textInputAction: TextInputAction.done"

// Example :
return Scaffold(
    body: Column(
        children: [
          TextField(
              decoration: InputDecoration(hintText: 'input field 1'),
              textInputAction: TextInputAction.next,
          ),
          TextField(
              decoration: InputDecoration(hintText: 'input field 2'),
              textInputAction: TextInputAction.next,
          ),
          TextField(
              decoration: InputDecoration(hintText: 'final input field'),
              textInputAction: TextInputAction.done,
          ),
        ],
    ),
);
 
PREVIOUS NEXT
Tagged: #flutter #form #set #input
ADD COMMENT
Topic
Name
8+9 =