2

I have a custom theme with material3 set to true.

static ThemeData light(context) => ThemeData(
        useMaterial3: true,

I do not like the current implementation of the Chip component and I would like to use the previous material2 implementation.

How to configure the ThemeData to customize of Chip widgets of my app without wrapping all Chips with a Theme widget

Theme(
                data: ThemeData(useMaterial3: false),
                child: ChoiceChip(...)

)

fvisticot
  • 7,936
  • 14
  • 49
  • 79

0 Answers0