mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 04:57:23 +00:00
Migrate to flutter 3.27.0
This commit is contained in:
@@ -64,4 +64,10 @@ extension WidgetExtension on Widget{
|
||||
Widget fixHeight(double height){
|
||||
return SizedBox(height: height, child: this);
|
||||
}
|
||||
}
|
||||
|
||||
extension ColorExt on Color {
|
||||
Color toOpacity(double opacity){
|
||||
return withValues(alpha: opacity);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user