shagun25 / SheHeroes

SheHeroes- A Women And Child Safety App
https://discord.com/channels/811724426965811210/815018090991321099
Creative Commons Zero v1.0 Universal
79 stars 95 forks source link

Migrating to flutter 2.0 #27

Open shagun25 opened 3 years ago

shagun25 commented 3 years ago

Feature: Project migration to flutter 2.0

Expected Behaviour: All packages should be compatible with flutter 2.0, deprecated field should be replaced with a new one. POINTS-25

pawan2806 commented 3 years ago

Hi ,Can I work on this ? I am participating in GSSOC21.

hiashutoshsingh commented 3 years ago

@pawan2806 How you will be implementing this? Please let us know your approach.

shagun25 commented 3 years ago

Hi ,Can I work on this ? I am participating in GSSOC21.

Are you working ?

pawan2806 commented 3 years ago

Hi ,Can I work on this ? I am participating in GSSOC21.

Are you working ?

I might need some help with this. Many of the packages don't support null safety yet. And as almost all the packages depend on each other, the project is giving countless errors on increasing the dependency versions of packages that actually support null safety.

Screenshot (579) Screenshot (580)

@shagun25

hiashutoshsingh commented 3 years ago

Hi ,Can I work on this ? I am participating in GSSOC21.

Are you working ?

I might need some help with this. Many of the packages don't support null safety yet. And as almost all the packages depend on each other, the project is giving countless errors on increasing the dependency versions of packages that actually support null safety.

Screenshot (579) Screenshot (580)

@shagun25

Hey @pawan2806 , If some packages are not having their null safety then we can follow two approaches: 1) update packages to the null safety beta version(remaining on previous flutter stable version 1.22.0-1.22.6) 2) Migrating project to flutter 2.0 and those packages whose dependencies are on others we can write them in dependency-overrides https://dart.dev/tools/pub/dependencies#dependency-overrides

pawan2806 commented 3 years ago

Hi ,Can I work on this ? I am participating in GSSOC21.

Are you working ?

I might need some help with this. Many of the packages don't support null safety yet. And as almost all the packages depend on each other, the project is giving countless errors on increasing the dependency versions of packages that actually support null safety. Screenshot (579) Screenshot (580) @shagun25

Hey @pawan2806 , If some packages are not having their null safety then we can follow two approaches:

  1. update packages to the null safety beta version(remaining on previous flutter stable version 1.22.0-1.22.6)
  2. Migrating project to flutter 2.0 and those packages whose dependencies are on others we can write them in dependency-overrides https://dart.dev/tools/pub/dependencies#dependency-overrides

Screenshot (592)

@hiashutoshsingh I think we have to wait until all packages are updated to null-safety versions.

hiashutoshsingh commented 3 years ago

is dependency override not working here. I guess it should. @pawan2806