-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Can we access your project?
- I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
The test mode compilation failed this morning with "Error: The method 'withValues' isn't defined for the class 'Color'." I found other people are experiencing the same thing: https://community.flutterflow.io/ask-the-community/post/post-slug-NyNxpev6EWRfpoC.
Here's the full error description:
113 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated
for more information.
Launching lib/main.dart on Web Server in debug mode...
Waiting for connection from debug service on Web Server...
/root/.pub-cache/hosted/pub.dev/chewie-1.8.7/lib/src/material/material_controls.dart:473:35: Error: The method 'withValues' isn't defined for the class 'Color'.
- 'Color' is from 'dart:ui'.
Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
color: Colors.white.withValues(alpha: .75),
^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/chewie-1.8.7/lib/src/material/material_controls.dart:685:57: Error: The method 'withValues' isn't defined for the class 'Color'. - 'Color' is from 'dart:ui'.
Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
Theme.of(context).colorScheme.surface.withValues(alpha: 0.5),
^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/chewie-1.8.7/lib/src/material/material_controls.dart:687:51: Error: The method 'withValues' isn't defined for the class 'Color'. - 'Color' is from 'dart:ui'.
Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
Theme.of(context).disabledColor.withValues(alpha: .5),
^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/chewie-1.8.7/lib/src/material/material_desktop_controls.dart:651:57: Error: The method 'withValues' isn't defined for the class 'Color'. - 'Color' is from 'dart:ui'.
Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
Theme.of(context).colorScheme.surface.withValues(alpha: 0.5),
^^^^^^^^^^
/root/.pub-cache/hosted/pub.dev/chewie-1.8.7/lib/src/material/material_desktop_controls.dart:653:51: Error: The method 'withValues' isn't defined for the class 'Color'. - 'Color' is from 'dart:ui'.
Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
Theme.of(context).disabledColor.withValues(alpha: 0.5),
^^^^^^^^^^
Waiting for connection from debug service on Web Server... 60.7s
Failed to compile application.
Expected Behavior
It should compile without error since it was working before and there's no code change.
Steps to Reproduce
Just compile for test mode.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT40lefl4otPm9ta15PuacdFmik5KUd8UOYw0NZBaCosfZT2BLMcec/RVERuXem8S39XM02jq2oW3N7NuPHLVu4EA0mrGYtx/5ZycALJfHKVM7XSFJWvPUdfBelTGmHF55+7gRBQCNJ0SloH6l2Ye/C8d3PcNoTbCmw4Dq/LZO4=
Visual documentation

Environment
- FlutterFlow version: 5.0.21
- Platform: Mac
- Browser name and version: Chrome
- Operating system and version affected: Sonoma 14.4.1 (23E224)
Additional Information
No response