Remove yaru dep

This commit is contained in:
Henry Hiles 2025-01-05 20:49:45 -05:00
parent a15fae89eb
commit 26a2bd3f5e
21 changed files with 291 additions and 311 deletions

View file

@ -20,3 +20,15 @@ extension Capitalize on String {
String toCapitalized() =>
length > 0 ? "${this[0].toUpperCase()}${substring(1).toLowerCase()}" : "";
}
extension GetTheme on ThemeData {
ThemeData tweaked() => copyWith(
textTheme: (brightness == Brightness.light
? ThemeData.light()
: ThemeData.dark())
.textTheme,
navigationRailTheme: NavigationRailThemeData(
backgroundColor: Colors.transparent,
),
);
}