mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
update flutter to 3.27.0 & update packages
This commit is contained in:
@@ -111,4 +111,10 @@ extension StyledText on TextStyle {
|
||||
TextStyle get s40 => copyWith(fontSize: 40);
|
||||
|
||||
TextStyle withColor(Color? color) => copyWith(color: color);
|
||||
}
|
||||
|
||||
extension ColorExt on Color {
|
||||
Color toOpacity(double opacity) {
|
||||
return withValues(alpha: opacity);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user