Remove yaru dep
This commit is contained in:
parent
a15fae89eb
commit
26a2bd3f5e
21 changed files with 291 additions and 311 deletions
|
@ -17,6 +17,10 @@ class SelectButton<T extends Enum> extends HookWidget {
|
|||
Widget build(BuildContext context) {
|
||||
final oldValue = useState(<T>{});
|
||||
return SegmentedButton(
|
||||
style: SegmentedButton.styleFrom(
|
||||
side: BorderSide.none,
|
||||
backgroundColor: Theme.of(context).colorScheme.surface,
|
||||
),
|
||||
segments: values
|
||||
.map((value) => ButtonSegment(
|
||||
value: value,
|
||||
|
|
Reference in a new issue