'My Input Chip'

),

),

);

Code after migration:

Widget

myInputChip

InputChip

onPressed:

()

{},

label:

Text

'My Input Chip'

),

);

Case 2: Remove button:true from the Semantics widget.

Code before migration:

Widget

myInputChip

InputChip

onPressed:

()

{},

label:

Semantics

button:

true

hint:

'Example Hint'

child:

Text