1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'

Discussão em 'Mobile' iniciado por Stack, Outubro 1, 2024 às 06:42.

  1. Stack

    Stack Membro Participativo

    I am using latest version of flutter, with latest version of Xcode, with latest version of android studio. I also have charts_flutter: ^0.12.0 but I am getting the error :

    Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
    Xcode build done. 3,9s
    Failed to build iOS app
    Error (Xcode): ../.pub-cache/hosted/pub.dev/charts_flutter-0.12.0/lib/src/behaviors/legend/legend_entry_layout.dart:134:45:
    Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.

    Could not build the application for the simulator.
    Error launching application on iPhone 15 Pro Max.


    I tried flutter upgrade, flutter doctor, but everything is right and up to date. I do not understand why I have an error, and therefore do not know how to solve it after many stack overflow posts.

    Continue reading...

Compartilhe esta Página