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
/C:/Users/<USERNAME>/AppData/Local/Pub/Cache/git/json_theme-f08555bb50b7e55d49fc292bf873ed0573b7d986/json_theme/lib/src/codec/theme_encoder.dart:7089:44: Error: The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme?'. - 'CardThemeData' is from 'package:flutter/src/material/card_theme.dart' ('/E:/flutter/packages/flutter/lib/src/material/card_theme.dart'). - 'CardTheme' is from 'package:flutter/src/material/card_theme.dart' ('/E:/flutter/packages/flutter/lib/src/material/card_theme.dart'). 'cardTheme': encodeCardTheme(value.cardTheme), ^/C:/Users/<USERNAME>/AppData/Local/Pub/Cache/git/json_theme-f08555bb50b7e55d49fc292bf873ed0573b7d986/json_theme/lib/src/codec/theme_encoder.dart:7100:48: Error: The argument type 'DialogThemeData' can't be assigned to the parameter type 'DialogTheme?'. - 'DialogThemeData' is from 'package:flutter/src/material/dialog_theme.dart' ('/E:/flutter/packages/flutter/lib/src/material/dialog_theme.dart'). - 'DialogTheme' is from 'package:flutter/src/material/dialog_theme.dart' ('/E:/flutter/packages/flutter/lib/src/material/dialog_theme.dart'). 'dialogTheme': encodeDialogTheme(value.dialogTheme), ^/C:/Users/<USERNAME>/AppData/Local/Pub/Cache/git/json_theme-f08555bb50b7e55d49fc292bf873ed0573b7d986/json_theme/lib/src/codec/theme_encoder.dart:7162:48: Error: The argument type 'TabBarThemeData' can't be assigned to the parameter type 'TabBarTheme?'. - 'TabBarThemeData' is from 'package:flutter/src/material/tab_bar_theme.dart' ('/E:/flutter/packages/flutter/lib/src/material/tab_bar_theme.dart'). - 'TabBarTheme' is from 'package:flutter/src/material/tab_bar_theme.dart' ('/E:/flutter/packages/flutter/lib/src/material/tab_bar_theme.dart'). 'tabBarTheme': encodeTabBarTheme(value.tabBarTheme), ^Target kernel_snapshot_program failed: ExceptionFAILURE: Build failed with an exception.* Where:Script 'E:\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1685* What went wrong:Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'E:\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.
Steps to Reproduce
git clone https://github.com/Mantano/iridium.git
cd iridium/demo-app
flutter devices <-- Pick a device id in the list (in the 2nd column)
flutter run -d <device_id>
The text was updated successfully, but these errors were encountered:
Description
Building the app fails due to type mismatches in the json_theme package. The encoder is unable to handle the updated Theme types from Flutter.
Error Details
Three type mismatch errors occur in theme_encoder.dart:
Environment
Error Log
Steps to Reproduce
The text was updated successfully, but these errors were encountered: