Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run Example to Web not work for me #124

Open
joesandiroz2 opened this issue Dec 21, 2024 · 1 comment
Open

run Example to Web not work for me #124

joesandiroz2 opened this issue Dec 21, 2024 · 1 comment

Comments

@joesandiroz2
Copy link

i follow you docs tutorial and error by runningin web mode

dart run serious_python:main package app/src -p Pyodide --requirements -r,app/src/requirements.txt flutter run -d Chrome
and error . how to fix this

/root/.pub-cache/hosted/pub.dev/flet-0.24.1/lib/src/utils/theme.dart:458:26: Error: A value of type
'CardThemeData' can't be returned from a function with return type 'CardTheme?'.
 - 'CardThemeData' is from 'package:flutter/src/material/card_theme.dart'
 ('/root/snap/flutter/common/flutter/packages/flutter/lib/src/material/card_theme.dart').
 - 'CardTheme' is from 'package:flutter/src/material/card_theme.dart'
 ('/root/snap/flutter/common/flutter/packages/flutter/lib/src/material/card_theme.dart').
  return theme.cardTheme.copyWith(
                         ^
Waiting for connection from debug service on Chrome...                 ⣠


@ndonkoHenri
Copy link
Collaborator

ndonkoHenri commented Dec 21, 2024

Downgrade to Flutter 3.24.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants