SimformSolutionsPvtLtd / flutter_showcaseview

Flutter plugin that allows you to showcase your features on flutter application. 👌🔝🎉
https://pub.dev/packages/showcaseview
MIT License
1.48k stars 433 forks source link

Error: The getter 'headline6', 'subtitle2', isn't defined for the class 'TextTheme'. #447

Closed lighbit closed 3 months ago

lighbit commented 3 months ago

Describe the bug The error occurs when launching the Flutter app. The headline6 and subtitle2 getters are not defined for the class TextTheme in the showcaseview package.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'launch the Flutter app'
  2. Click on 'run the app in debug mode'
  3. Scroll down to 'observe the console output'
  4. See error

Expected behavior The app should compile and run without errors.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... /C:/Users//AppData/Local/Pub/Cache/hosted/pub.dev/showcaseview-2.1.1/lib/src/tooltip_widget.dart:156:14: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.

FAILURE: Build failed with an exception.

BUILD FAILED in 29s Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

aditya-css commented 3 months ago

Duplicate of #434