Answers for "flutter dropdownbutton stackoverflow"

0

flutter dropdownbutton stackoverflow

DropdownButton(
    isExpanded: true, //Step 1
    items: [
        new DropdownMenuItem(
            child: Text("Long text that overflow the size.. wrapped or ellipsized", 
            overflow: TextOverflow.ellipsis),  //Step 2
        ),
    ],
    onChanged: (val) { }
)
Posted by: Guest on October-27-2020

Browse Popular Code Answers by Language