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

Create a locally Setup video #44

Open
heysagnik opened this issue May 22, 2024 · 19 comments
Open

Create a locally Setup video #44

heysagnik opened this issue May 22, 2024 · 19 comments
Assignees

Comments

@heysagnik
Copy link
Collaborator

Make a small detailed video how new willing contributor will setup the project locally and contribute to open source through our repository.

Optional: VIDEO containing audio instructions are more preferred.

@lassmara
Copy link
Contributor

Please assign me this issue

@heysagnik
Copy link
Collaborator Author

@lassmara you are good to go 🚀.

This was referenced Jun 1, 2024
@Naveenchand06
Copy link
Collaborator

@lassmara Could you please also add the Firebase setup for this project? Using the FlutterFire tool would be great as it simplifies the process, allowing us to stay within VS Code without switching back and forth with Firebase.

@lassmara
Copy link
Contributor

lassmara commented Jun 4, 2024

okay, i will work on Firebase setup for this project

@heysagnik heysagnik added level3 and removed level1 good first issue Good for newcomers labels Jun 4, 2024
@lassmara
Copy link
Contributor

lassmara commented Jun 6, 2024

error GD65BB2B6: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.

im gettign this error repeatedly, and couldnot run , can you help?

@lassmara
Copy link
Contributor

lassmara commented Jun 6, 2024

error MSB8066: Custom build for 'D:\PROJECTS\GSSOC\ecard\build\windows\x64\CMakeFiles....\flutter_windows.dll.rule;D:\PROJECTS\GSSOC\ecard\build\windows\x64\CMakeFiles....\flutter_assemble.rule' exited with code 1. [D:\PROJECTS\GSSOC\ecard\build\windows\x64\flutter\flutter_assemble.vcxproj] even this, i tried my best to resolve them but im not able to

@Naveenchand06
Copy link
Collaborator

Hi @lassmara,

Are you trying to run the app on windows?

@lassmara
Copy link
Contributor

lassmara commented Jun 6, 2024 via email

@Naveenchand06
Copy link
Collaborator

Naveenchand06 commented Jun 6, 2024

@lassmara Please prioritize creating the local setup video for Android, followed by one for iOS

@lassmara
Copy link
Contributor

lassmara commented Jun 6, 2024

okok

@lassmara
Copy link
Contributor

lassmara commented Jun 7, 2024

hi @Naveenchand06 , can you please help me through this error
i tried installing upgraded versions and still poping this error after setting up on android, Did i miss something ?

/C:/Users/.../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/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' ('/C:/flutter/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(
    ^^^^^^^^^
    /C:/Users/..../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/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' ('/C:/flutter/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,
    ^^^^^^^^^^^^^^^
    /C:/Users/..../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/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' ('/C:/flutter/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,
    ^^^^^^^^^^^^^^^
    /C:/Users/Sruthi/AppData/Local/Pub/Cache/hosted/pub.dev/persistent_bottom_nav_bar-5.0.2/lib/neumorphic_package_by_serge_software/neumorphic_card.dart:57:57: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/C:/flutter/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'.
    final color = decoration.color ?? Theme.of(context).backgroundColor;
    ^^^^^^^^^^^^^^^
    /C:/Users/.../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/lib/src/views/theme.dart:31:11: Error: No named parameter with the name 'toggleableActiveColor'.
    toggleableActiveColor: accentColor,
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/Users/.../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/lib/src/views/theme.dart:54:11: Error: No named parameter with the name 'toggleableActiveColor'.
    toggleableActiveColor: accentColor,
    ^^^^^^^^^^^^^^^^^^^^^
    /C:/Users/..../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/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' ('/C:/flutter/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(
    ^^^^^^^^^
    /C:/Users/.../AppData/Local/Pub/Cache/hosted/pub.dev/device_preview-1.1.0/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' ('/C:/flutter/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(
    ^^^^^^^^^
    lib/View/QRScreens/image_picker.dart:39:11: Error: No named parameter with the name 'cropStyle'.
    cropStyle: CropStyle.circle,
    ^^^^^^^^^
    Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\flutter\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.

@Naveenchand06
Copy link
Collaborator

@lassmara What is the version of Flutter you are using?

@lassmara
Copy link
Contributor

lassmara commented Jun 7, 2024 via email

@lassmara
Copy link
Contributor

lassmara commented Jun 7, 2024

its 3.22.2

@Naveenchand06
Copy link
Collaborator

Naveenchand06 commented Jun 8, 2024

@lassmara This project was created before Flutter version 3.19. Since the release of v3.19, Flutter has deprecated several theme-related values. The attached PDF outlines these deprecations along with their equivalent replacements.
Flutter Deprecations Removed after 3.19 - Sheet1.pdf

@lassmara If you continue to face issues even after updating to the replacement values, please let me know. We can plan accordingly and split the issue into two parts.

@lassmara
Copy link
Contributor

lassmara commented Jun 8, 2024

yes , i try to downgrade to 3.16.9 version and let you know

@Naveenchand06
Copy link
Collaborator

@lassmara ok, then I'll create a separate issue for the theme data changes.

@lassmara
Copy link
Contributor

lassmara commented Jun 8, 2024

okay

@lassmara
Copy link
Contributor

lassmara commented Jun 8, 2024

hi @Naveenchand06 , i tried so many versions and at last i found out the correct one , but got 1error related to CropSTyle
image

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

When branches are created from issues, their pull requests are automatically linked.

3 participants