You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a build error within a Flutter project using version 3.27.1 (stable channel). Velocity_x: 4.2.1 is causing a build-time failure, preventing successful compilation and execution of the application. The specific error message is as follows:
/C:/Users/***/AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-4.2.1/lib/src/flutter/universal.dart:805:43: Error: A value of type 'CardThemeData' can't be assigned to a variable of type 'CardTheme'.
'CardThemeData' is from 'package:flutter/src/material/card_theme.dart' ('/D:/tools/flutter/packages/flutter/lib/src/material/card_theme.dart').
'CardTheme' is from 'package:flutter/src/material/card_theme.dart' ('/D:/tools/flutter/packages/flutter/lib/src/material/card_theme.dart').
final CardTheme cardTheme = CardTheme.of(context);
^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered:
I am encountering a build error within a Flutter project using version 3.27.1 (stable channel). Velocity_x: 4.2.1 is causing a build-time failure, preventing successful compilation and execution of the application. The specific error message is as follows:
/C:/Users/***/AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-4.2.1/lib/src/flutter/universal.dart:805:43: Error: A value of type 'CardThemeData' can't be assigned to a variable of type 'CardTheme'.
final CardTheme cardTheme = CardTheme.of(context);
^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered: