Skip to content

Commit

Permalink
Merge branch 'main' into misc/reset-on-same-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Sep 18, 2024
2 parents 1b46ac6 + 0016004 commit 6720537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/dartpad_ui/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ class LoadingOverlay extends StatelessWidget {
final color = theme.colorScheme.surface;

return AnimatedContainer(
color: compiling ? color.withOpacity(0.8) : color.withOpacity(0.0),
color: color.withValues(alpha: compiling ? 0.8 : 0),
duration: animationDelay,
curve: animationCurve,
child: compiling
Expand Down
2 changes: 1 addition & 1 deletion pkgs/dartpad_ui/lib/widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class RunButton extends StatelessWidget {
backgroundColor: WidgetStateProperty.resolveWith(
(states) {
if (states.contains(WidgetState.disabled)) {
return runButtonColor.withOpacity(0.4);
return runButtonColor.withValues(alpha: 0.4);
}

return runButtonColor;
Expand Down

0 comments on commit 6720537

Please sign in to comment.