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

fix: replace deprecated bodyText2 with bodyMedium (#287) #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

suojae
Copy link

@suojae suojae commented Dec 6, 2024

This update addresses compatibility issues with Flutter 3.0+ by replacing deprecated bodyText2 references in the TextTheme with bodyMedium.

Key Changes

  • Updated all instances of bodyText2 in the codebase to bodyMedium as per the latest Flutter API.
  • Ensured compatibility with Flutter 3.0+ where bodyText2 is no longer supported.

Why this change is necessary

Flutter 3.0+ has deprecated and removed several TextTheme properties such as bodyText2, causing build failures in the flutter_neumorphic package. Updating to the newer bodyMedium resolves these issues and ensures the package remains functional for all users.

Fixes #287 .

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.

Compatibility Issue: bodyText2 is deprecated in TextTheme for Flutter 3.0+
1 participant