Flutter
Is new design vision part implemented using new tokens?
Flutter
Is new design vision part implemented using new tokens?
OptimusChip(
isEnabled: true,
onRemoved: () {},
hasError: false,
child: Text('Chip'),
);
Name |
Description |
Type |
Default |
---|---|---|---|
child |
The child of the Chip. Typically the Text. |
Widget |
|
onRemoved |
The callback is to be called after the Chip is removed. |
VoidCallback? |
|
onTap |
The callback is to be called after tapping on the Chip. |
VoidCallback? |
|
hasError |
Whether the Chip has an error. |
bool |
false |
isEnabled |
Whether the Chip is enabled. |
bool |
true |