In Flutter, I want to use the old Material 2 RawChip oval style

31 views Asked by At

I'd like to use Material 3 for my project, but I like the old RawChip Oval look. How do I go about doing this?

1

There are 1 answers

0
Dhafin Rayhan On

You can wrap the widget with Theme and give it a ThemeData with useMaterial3 set to false.

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