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

I couldn't run the project #1684

Open
burakakca opened this issue Oct 8, 2024 · 1 comment
Open

I couldn't run the project #1684

burakakca opened this issue Oct 8, 2024 · 1 comment

Comments

@burakakca
Copy link

Hi, How can I fix that problem?

Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (4 weeks ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3
flutter run
Connected devices:
Linux (desktop) • linux  • linux-x64      • Ubuntu
24.04.1 LTS 6.8.0-45-generic
Chrome (web)    • chrome • web-javascript • Google
Chrome 129.0.6668.89
[1]: Linux (linux)
[2]: Chrome (chrome)
Please choose one (or "q" to quit): 2
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome..Warning: In index.html:57: Local variable for
"serviceWorkerVersion" is deprecated. Use
"{{flutter_service_worker_version}}" template token
instead. See
https://docs.flutter.dev/platform-integration/web/ini
tialization for more details.
../../../.pub-cache/hosted/pub.dev/carousel_slider-4.2.1/lib/carousel_slider.dart:9:1: Error: 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and 'package:flutter/src/material/carousel.dart'.
import 'carousel_controller.dart';
^^^^^^^^^^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:45:5: Error: No named parameter with the name 'headline4'.
    headline4: display1,
    ^^^^^^^^^
../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart:89:9: Context: Found this candidate, but the arguments don't match.
  const TextTheme({
        ^^^^^^^^^
../modules/device_preview/lib/src/views/tool_panel/sections/section.dart:39:40: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle2'.
                style: theme.textTheme.subtitle2?.copyWith(
                                       ^^^^^^^^^
../modules/device_preview/lib/src/views/tool_panel/sections/settings.dart:56:34: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
 - 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/theme_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'.
                  color: toolbar.backgroundColor,
                                 ^^^^^^^^^^^^^^^
../modules/device_preview/lib/src/views/tool_panel/sections/settings.dart:87:34: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
 - 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/theme_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'.
                  color: toolbar.backgroundColor,
                                 ^^^^^^^^^^^^^^^
../modules/device_preview/lib/src/views/theme.dart:31:11: Error: No named parameter with the name 'toggleableActiveColor'.
          toggleableActiveColor: accentColor,
          ^^^^^^^^^^^^^^^^^^^^^
../modules/device_preview/lib/src/views/theme.dart:54:11: Error: No named parameter with the name 'toggleableActiveColor'.
          toggleableActiveColor: accentColor,
          ^^^^^^^^^^^^^^^^^^^^^
../modules/device_preview/lib/src/views/tool_panel/tool_panel.dart:83:34: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
          style: theme.textTheme.headline6?.copyWith(
                                 ^^^^^^^^^
../modules/device_preview/lib/src/views/tool_panel/sections/subsections/device_model.dart:175:32: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle2'.
        style: theme.textTheme.subtitle2?.copyWith(
                               ^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/carousel_slider-4.2.1/lib/carousel_slider.dart:48:15: Error: 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and
'package:flutter/src/material/carousel.dart'.
            : CarouselController() as CarouselControllerImpl,
              ^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/carousel_slider-4.2.1/lib/carousel_slider.dart:62:15: Error: 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and
'package:flutter/src/material/carousel.dart'.
            : CarouselController() as CarouselControllerImpl,
              ^^^^^^^^^^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:121:23: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline1'.
      headline1: base.headline1?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:122:23: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline2'.
      headline2: base.headline2?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:123:23: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline3'.
      headline3: base.headline3?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:124:23: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline4'.
      headline4: base.headline4?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:125:23: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline5'.
      headline5: base.headline5?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:126:23: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
      headline6: base.headline6?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:127:20: Error: The getter 'button' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'button'.
      button: base.button?.copyWith(fontFamily: fontName),
                   ^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:128:21: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'.
      caption: base.caption?.copyWith(fontFamily: fontName),
                    ^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:129:23: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'.
      bodyText1: base.bodyText1?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:130:23: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText2'.
      bodyText2: base.bodyText2?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:131:23: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle1'.
      subtitle1: base.subtitle1?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:132:23: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle2'.
      subtitle2: base.subtitle2?.copyWith(fontFamily: fontName),
                      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:133:22: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../../flutter-sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'overline'.
      overline: base.overline?.copyWith(fontFamily: fontName),
                     ^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:121:7: Error: No named parameter with the name 'headline1'.
      headline1: base.headline1?.copyWith(fontFamily: fontName),
      ^^^^^^^^^
../modules/ensemble/lib/ensemble_theme.dart:153:7: Error: No named parameter with the name 'backgroundColor'.
      backgroundColor: const Color(0xFFFFFFFF),
      ^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/fl_chart-0.62.0/lib/src/utils/utils.dart:269:20: Error: Member not found: 'MediaQuery.boldTextOverride'.
    if (MediaQuery.boldTextOverride(context)) {
                   ^^^^^^^^^^^^^^^^
Waiting for connection from debug service on Chrome...             40.9s
Failed to compile application.
@burakakca burakakca changed the title I coudn't run the project I couldn't run the project Oct 8, 2024
@kmahmood74
Copy link
Collaborator

hi @burakakca at this time we require flutter 3.19.6 or less. Please use fvm to use that flutter version.

Alternatively you can wait till Friday and we will have an ensemble version that is ready for flutter 3.24.0+. You can get it now from this branch but it may have issues, let us know if you run into any issues

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