fix linter issues
Some checks failed
Pull Request Pipeline / test (pull_request) Failing after 44s
Pull Request Pipeline / lint (pull_request) Successful in 56s

This commit is contained in:
2026-05-21 10:34:01 +02:00
parent 9909d959b0
commit 2a38462c57
2 changed files with 6 additions and 6 deletions

View File

@@ -38,12 +38,12 @@ class _AnimatedDialogButtonState extends State<AnimatedDialogButton> {
Widget build(BuildContext context) {
final textStyling = _getTextStyling();
final buttonDecoration = _getButtonDecoration();
bool _isDisabled = widget.onPressed == null;
bool isDisabled = widget.onPressed == null;
return IgnorePointer(
ignoring: _isDisabled,
ignoring: isDisabled,
child: Opacity(
opacity: _isDisabled ? 0.5 : 1.0,
opacity: isDisabled ? 0.5 : 1.0,
child: GestureDetector(
onTapDown: (_) => setState(() => _isPressed = true),
onTapUp: (_) => setState(() => _isPressed = false),