美文网首页
Flutter问题:chewie_audio-1.4.0

Flutter问题:chewie_audio-1.4.0

作者: 廿九帅 | 来源:发表于2024-03-18 21:23 被阅读0次

    问题:

    ../../flutter/.pub-cache/hosted/pub.flutter-io.cn/chewie_audio-1.4.0/lib/src/material_controls.dart:82:51: Error: The getter 'labelLarge' isn't defined for the class 'TextTheme'.

    - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/packages/flutter/lib/src/material/text_theme.dart').

    Try correcting the name to the name of an existing getter, or defining a getter or field named 'labelLarge'.

    final iconColor = Theme.of(context).textTheme.labelLarge!.color;

    解决:

    chewie_audio: 1.3.0

    https://pub-web.flutter-io.cn/packages/chewie_audio/versions

    相关文章

      网友评论

          本文标题:Flutter问题:chewie_audio-1.4.0

          本文链接:https://www.haomeiwen.com/subject/wfqwzdtx.html