Skip to content

(Urgent) BugFix: Fixed accentColor and backgroundColor deprecation and added null safety to example. Works on Flutter 3.10 #24

Open
varun-2001 wants to merge 2 commits intoJordanADavies:masterfrom
varun-2001:master
Open

(Urgent) BugFix: Fixed accentColor and backgroundColor deprecation and added null safety to example. Works on Flutter 3.10 #24
varun-2001 wants to merge 2 commits intoJordanADavies:masterfrom
varun-2001:master

Conversation

@varun-2001
Copy link

@varun-2001 varun-2001 commented May 12, 2023

Detailed Changes:

  1. Theme.of(context).backgroundColor => Theme.of(context).colorScheme.background
  2. Theme.of(context).accentColor=> Theme.of(context).colorScheme.accent
  3. FlatButton => TextButton
  4. Colors.grey[shade300] => Colors.grey.shade300

varun-2001 added 2 commits May 12, 2023 13:07
-Uses colorScheme.background
-Uses colorScheme.secondary
@varun-2001 varun-2001 changed the title BugFix: Fixed accentColor and backgroundColor deprecation. Works on Flutter 3.10 (Urgent) BugFix: Fixed accentColor and backgroundColor deprecation and added null safety to example. Works on Flutter 3.10 May 12, 2023
@Pablo-Aldana
Copy link

Hi! Seeing the urgency of the issue, I have created a fork with the fixed and uploaded a new package to pub.dev in case you'd like to use it.

Liquid Progress Indicator Dart3 compatible

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

Successfully merging this pull request may close these issues.

2 participants