fixed deprecated warnings

This commit is contained in:
Marton Kiss
2025-01-31 10:24:37 +01:00
parent 67649cc5fd
commit b5ee1afe05
102 changed files with 755 additions and 557 deletions

View File

@@ -19,7 +19,8 @@ class MaterialActionButton extends StatelessWidget {
return RawMaterialButton(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
shape: const StadiumBorder(),
fillColor: backgroundColor ?? AppColors.of(context).text.withOpacity(.15),
fillColor:
backgroundColor ?? AppColors.of(context).text.withValues(alpha: .15),
elevation: 0,
highlightElevation: 0,
onPressed: onPressed,