themes/food/lib/items/stack/parallax_content.dart:116:32: Error: The argument type ‘ScrollableState?’ can’t be assigned to the parameter type ‘ScrollableState’ because ‘ScrollableState?’ is nullable and ‘ScrollableState’ isn’t.
- ‘ScrollableState’ is from ‘package:flutter/src/widgets/scrollable.dart’ (‘/C:/flutter/packages/flutter/lib/src/widgets/scrollable.dart’).
scrollable: Scrollable.of(context),
^
FAILURE: Build failed with an exception.
-
Where:
Script ‘C:\flutter\packages\flutter_tools\gradle\flutter.gradle’ line: 1165 -
What went wrong:
Execution failed for task ‘:app:compileFlutterBuildDebug’.
Process ‘command ‘C:\flutter\bin\flutter.bat’’ finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 52s
Exception: Gradle task assembleDebug failed with exit code 1