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

can someone fork for an active contribution ? then people can contribute ? #61

Open
billyandco opened this issue Feb 15, 2022 · 9 comments

Comments

@billyandco
Copy link

TODO :

  • upgrade dart to 2.16 (for now)
  • upgrade dependencies

not actually working on it, but plan to fork this beautiful project

@ngockhanhbl
Copy link

same here

@bobatsar
Copy link

bobatsar commented Apr 27, 2023

I am now using https://github.com/hacnguyen1412/flutter_sheet_localization
with the following entries in pubspec.yaml

dependencies:
  flutter_sheet_localization:
      git:
        url: git@github.com:hacnguyen1412/flutter_sheet_localization.git
        path: flutter_sheet_localization

dev_dependencies:
  flutter_sheet_localization_generator: 
      git:
        url: git@github.com:hacnguyen1412/flutter_sheet_localization.git
        path: flutter_sheet_localization_generator

Thanks @hacnguyen1412 for the fixes in your fork

@imagic85
Copy link

I am now using https://github.com/hacnguyen1412/flutter_sheet_localization with the following entries in pubspec.yaml

flutter_sheet_localization:
    git:
      url: git@github.com:hacnguyen1412/flutter_sheet_localization.git
      path: flutter_sheet_localization


flutter_sheet_localization_generator: 
    git:
      url: git@github.com:hacnguyen1412/flutter_sheet_localization.git
      path: flutter_sheet_localization_generator

Thanks @hacnguyen1412 for the fixes in your fork

Hi @bobatsar , I got error:
Git error. Command: git clone --mirror git@github.com:hacnguyen1412/flutter_sheet_localization.git /Users/levinhduc/.pub-cache/git/cache/flutter_sheet_localization-af6febef448b5cd344667055662983f58545659a
stdout:
stderr: Cloning into bare repository '/Users/levinhduc/.pub-cache/git/cache/flutter_sheet_localization-af6febef448b5cd344667055662983f58545659a'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@MostafaElswefy
Copy link

Hi @bobatsar , I got error:

Resolving dependencies...
Because every version of flutter_sheet_localization_generator from path depends on flutter_sheet_localization from git and smart_contacts depends on flutter_sheet_localization from path, flutter_sheet_localization_generator from path is forbidden.
So, because smart_contacts depends on flutter_sheet_localization_generator from path, version solving failed.
pub get failed
command: "C:\src\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "C:\src\flutter",
"PUB_ENVIRONMENT": "flutter_cli:get",
"PUB_CACHE": "C:\Users\mosta\AppData\Local\Pub\Cache",
}
exit code: 1

Process finished with exit code 1

dddd

@bobatsar
Copy link

bobatsar commented May 4, 2023

hey @imagic85,

it seems https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/ is your problem.

@MostafaElswefy
I don't know why your errors appear here.

Please make sure that flutter_sheet_localization is in the dependencies section and flutter_sheet_localization_generator is in dev_dependencies.

I updated my comment above to clarify this.

@MostafaElswefy
Copy link

Hey @bobatsar bobatsar ,

My Problem had been Resolved , Now I can Use Packages Normally .
But i use this package "flutter_lints" and This package contains a recommended set of lints for apps, packages, and plugins to encourage good coding practices.
because of this package
A lot of warnings appear at "localizations.g.dart" generated File
like :

  • info: Unnecessary 'const' keyword.
  • info: Unnecessary escape in string literal.
  • info: Use 'const' with the constructor to improve performance.

please you can make a trial Using this package "flutter_lints" (https://pub.dev/packages/flutter_lints) to understand what's the problem

Thanks A lot
dddddasa

@holland-hng
Copy link

@MostafaElswefy

I know your problem, I was in that trouble before. However, I don't have enough resources to do that. Instead, you can custom 'flutter_lint' to ignore .g.dart file.

You can try it: dart-lang/linter#165

@MostafaElswefy
Copy link

MostafaElswefy commented May 14, 2023

Hello @hacnguyen1412 ,

Everything was working till i upgraded to new Updates Flutter [3.10.0]
This Error message appeared

[Resolving dependencies...
Because every version of flutter_sheet_localization_generator from git depends on intl ^0.17.0 and every version of flutter_localizations from sdk depends on intl 0.18.0, flutter_sheet_localization_generator from git is incompatible with flutter_localizations from sdk.
So, because smart_contacts depends on both flutter_localizations from sdk and flutter_sheet_localization_generator from git, version solving failed.
Process finished with exit code 1]

how can i fix my problem
Thanks

ddddd

@MostafaElswefy
Copy link

Hello @hacnguyen1412 ,

Everything was working till i upgraded to new Updates Flutter [3.10.0] This Error message appeared

[Resolving dependencies... Because every version of flutter_sheet_localization_generator from git depends on intl ^0.17.0 and every version of flutter_localizations from sdk depends on intl 0.18.0, flutter_sheet_localization_generator from git is incompatible with flutter_localizations from sdk. So, because smart_contacts depends on both flutter_localizations from sdk and flutter_sheet_localization_generator from git, version solving failed. Process finished with exit code 1]

how can i fix my problem Thanks

ddddd

Finally I Found solution for this issue without downgrading Flutter

we can use [dependency_overrides:] @ pubspec.yaml

like That :

dependency_overrides:
intl: ^0.17.0

for more details you can visit Doc @ https://docs.flutter.dev/packages-and-plugins/using-packages#conflict-resolution

eeee

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

6 participants