Answers for "set leading icon in text flutter"

1

add a leading icon to text field in flutter

TextField(
//    ...,other fields
      decoration: InputDecoration(
        prefixIcon: prefixIcon??Icon(Icons.done),
      ),
    ),
Posted by: Guest on June-10-2020

Code answers related to "set leading icon in text flutter"

Browse Popular Code Answers by Language