Closed jpnurmi closed 1 year ago
Ewww :( But it looks fixable as you directly provide the solution.
((( How are switches, buttons and ✅ looking?))))
This is related to https://github.com/ubuntu/yaru.dart/issues/252 because ColorScheme.fromSwatch() offers no way to pass the outline colors.
Also visible in the yaru.dart example:
Fixed by https://github.com/ubuntu/yaru.dart/pull/259 - I forgot to add a reference.
I also didn't notice you had self-assigned this. Sorry if I stepped on your toes... :)
lol! feel free to step on my toes 💅 👣 😄 so many things to fix
M3
Divider
usesColorScheme.outlineVariant
on the beta channel:https://github.com/flutter/flutter/blob/686fe913dc963954b99e62048569cb9ac8e551c8/packages/flutter/lib/src/material/divider.dart#L343
code sample
```dart import 'package:flutter/material.dart'; import 'package:yaru/yaru.dart'; void main() { runApp( MaterialApp( home: Column( children: [ Expanded( child: Theme( data: yaruLight, child: const Scaffold(body: Center(child: VerticalDivider())), ), ), Expanded( child: Theme( data: yaruDark, child: const Scaffold(body: Center(child: VerticalDivider())), ), ), ], ), ), ); } ```