flutter - Target kernel_snapshot_program failed: Exception FAILURE: Build failed with an exception - Stack Overflow

admin2025-04-17  3

Launching lib\main.dart on RMX2156 in debug mode... Running Gradle task 'assembleDebug'... ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:249:48: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline1'. _themedStyle = Theme.of(context).textTheme.headline1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:255:48: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline2'. _themedStyle = Theme.of(context).textTheme.headline2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:261:48: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline3'. _themedStyle = Theme.of(context).textTheme.headline3; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:267:48: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline4'. _themedStyle = Theme.of(context).textTheme.headline4; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:273:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. _themedStyle = Theme.of(context).textTheme.headline5; _themedStyle = Theme.of(context).textTheme.headline6 ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:291:48: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. _themedStyle = Theme.of(context).textTheme.bodyText2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:297:48: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. _themedStyle = Theme.of(context).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:303:48: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle1'. _themedStyle = Theme.of(context).textTheme.subtitle1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:309:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle2'. _themedStyle = Theme.of(context).textTheme.subtitle2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:315:48: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'overline'. _themedStyle = Theme.of(context).textTheme.overline; ^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:321:48: Error: The getter 'button' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'button'. _themedStyle = Theme.of(context).textTheme.button; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:206:48: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline1'. _themedStyle = Theme.of(context).textTheme.headline1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:212:48: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline2'. _themedStyle = Theme.of(context).textTheme.headline2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:218:48: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline3'. _themedStyle = Theme.of(context).textTheme.headline3; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:224:48: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline4'. _themedStyle = Theme.of(context).textTheme.headline4; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:230:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. _themedStyle = Theme.of(context).textTheme.headline5; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:236:48: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. _themedStyle = Theme.of(context).textTheme.headline6; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:242:48: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText1'. _themedStyle = Theme.of(context).textTheme.bodyText1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:248:48: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. _themedStyle = Theme.of(context).textTheme.bodyText2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:254:48: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. _themedStyle = Theme.of(context).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:260:48: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle1'. _themedStyle = Theme.of(context).textTheme.subtitle1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:266:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle2'. _themedStyle = Theme.of(context).textTheme.subtitle2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:272:48: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'overline'. _themedStyle = Theme.of(context).textTheme.overline; ^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:278:48: Error: The getter 'button' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'button'. _themedStyle = Theme.of(context).textTheme.button; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:561:48: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline1'. _themedStyle = Theme.of(context).textTheme.headline1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:567:48: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline2'. _themedStyle = Theme.of(context).textTheme.headline2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:573:48: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline3'. _themedStyle = Theme.of(context).textTheme.headline3; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:579:48: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline4'. _themedStyle = Theme.of(context).textTheme.headline4; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:585:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. _themedStyle = Theme.of(context).textTheme.headline5; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:591:48: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. _themedStyle = Theme.of(context).textTheme.headline6; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:597:48: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText1'. _themedStyle = Theme.of(context).textTheme.bodyText1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:603:48: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. _themedStyle = Theme.of(context).textTheme.bodyText2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:609:48: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. _themedStyle = Theme.of(context).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:615:48: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle1'. _themedStyle = Theme.of(context).textTheme.subtitle1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:621:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle2'. _themedStyle = Theme.of(context).textTheme.subtitle2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:627:48: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'overline'. _themedStyle = Theme.of(context).textTheme.overline; ^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:633:48: Error: The getter 'button' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'button'. _themedStyle = Theme.of(context).textTheme.button; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/extensions/context_ext.dart:111:59: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. TextStyle? get captionStyle => Theme.of(this).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/extensions/context_ext.dart:175:38: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. Color get backgroundColor => theme.backgroundColor; ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/pinview.dart:91:60: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. color: widget.color ?? Theme.of(context).textTheme.headline6?.color, ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/pinview.dart:93:64: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. widget.contentColor ?? Theme.of(context).textTheme.headline6?.color, ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/flex.dart:437:7: Error: No named parameter with the name 'clipBehavior'. clipBehavior: clipBehavior, ^^^^^^^^^^^^ ../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/widgets/overflow_bar.dart:57:9: Context: Found this candidate, but the arguments don't match. const OverflowBar({ ^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:230:55: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: cancelBgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:246:55: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: cancelBgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:266:56: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: confirmBgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:351:52: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: widget.bgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/bottom_sheet.dart:31:61: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. backgroundColor: backgroundColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/bottom_sheet.dart:79:61: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. backgroundColor: backgroundColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/appbar.dart:332:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. TextStyle? centerStyle = widget.textTheme?.headline5 ?? ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/appbar.dart:335:46: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. TextStyle? sideStyle = widget.textTheme?.bodyText2 ?? ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/appbar.dart:337:32: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. theme.primaryTextTheme.bodyText2; ^^^^^^^^^ Target kernel_snapshot_program failed: Exception

Launching lib\main.dart on RMX2156 in debug mode... Running Gradle task 'assembleDebug'... ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:249:48: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline1'. _themedStyle = Theme.of(context).textTheme.headline1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:255:48: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline2'. _themedStyle = Theme.of(context).textTheme.headline2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:261:48: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline3'. _themedStyle = Theme.of(context).textTheme.headline3; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:267:48: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline4'. _themedStyle = Theme.of(context).textTheme.headline4; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:273:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. _themedStyle = Theme.of(context).textTheme.headline5; _themedStyle = Theme.of(context).textTheme.headline6 ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:291:48: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. _themedStyle = Theme.of(context).textTheme.bodyText2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:297:48: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. _themedStyle = Theme.of(context).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:303:48: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle1'. _themedStyle = Theme.of(context).textTheme.subtitle1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:309:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle2'. _themedStyle = Theme.of(context).textTheme.subtitle2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:315:48: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'overline'. _themedStyle = Theme.of(context).textTheme.overline; ^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/text.dart:321:48: Error: The getter 'button' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'button'. _themedStyle = Theme.of(context).textTheme.button; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:206:48: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline1'. _themedStyle = Theme.of(context).textTheme.headline1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:212:48: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline2'. _themedStyle = Theme.of(context).textTheme.headline2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:218:48: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline3'. _themedStyle = Theme.of(context).textTheme.headline3; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:224:48: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline4'. _themedStyle = Theme.of(context).textTheme.headline4; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:230:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. _themedStyle = Theme.of(context).textTheme.headline5; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:236:48: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. _themedStyle = Theme.of(context).textTheme.headline6; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:242:48: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText1'. _themedStyle = Theme.of(context).textTheme.bodyText1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:248:48: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. _themedStyle = Theme.of(context).textTheme.bodyText2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:254:48: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. _themedStyle = Theme.of(context).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:260:48: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle1'. _themedStyle = Theme.of(context).textTheme.subtitle1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:266:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle2'. _themedStyle = Theme.of(context).textTheme.subtitle2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:272:48: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'overline'. _themedStyle = Theme.of(context).textTheme.overline; ^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:278:48: Error: The getter 'button' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'button'. _themedStyle = Theme.of(context).textTheme.button; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:561:48: Error: The getter 'headline1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline1'. _themedStyle = Theme.of(context).textTheme.headline1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:567:48: Error: The getter 'headline2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline2'. _themedStyle = Theme.of(context).textTheme.headline2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:573:48: Error: The getter 'headline3' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline3'. _themedStyle = Theme.of(context).textTheme.headline3; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:579:48: Error: The getter 'headline4' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline4'. _themedStyle = Theme.of(context).textTheme.headline4; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:585:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. _themedStyle = Theme.of(context).textTheme.headline5; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:591:48: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. _themedStyle = Theme.of(context).textTheme.headline6; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:597:48: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText1'. _themedStyle = Theme.of(context).textTheme.bodyText1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:603:48: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. _themedStyle = Theme.of(context).textTheme.bodyText2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:609:48: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. _themedStyle = Theme.of(context).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:615:48: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle1'. _themedStyle = Theme.of(context).textTheme.subtitle1; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:621:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'subtitle2'. _themedStyle = Theme.of(context).textTheme.subtitle2; ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:627:48: Error: The getter 'overline' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'overline'. _themedStyle = Theme.of(context).textTheme.overline; ^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/rich_text.dart:633:48: Error: The getter 'button' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'button'. _themedStyle = Theme.of(context).textTheme.button; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/extensions/context_ext.dart:111:59: Error: The getter 'caption' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'caption'. TextStyle? get captionStyle => Theme.of(this).textTheme.caption; ^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/extensions/context_ext.dart:175:38: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. Color get backgroundColor => theme.backgroundColor; ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/pinview.dart:91:60: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. color: widget.color ?? Theme.of(context).textTheme.headline6?.color, ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/pinview.dart:93:64: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline6'. widget.contentColor ?? Theme.of(context).textTheme.headline6?.color, ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/flex.dart:437:7: Error: No named parameter with the name 'clipBehavior'. clipBehavior: clipBehavior, ^^^^^^^^^^^^ ../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/widgets/overflow_bar.dart:57:9: Context: Found this candidate, but the arguments don't match. const OverflowBar({ ^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:230:55: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: cancelBgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:246:55: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: cancelBgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:266:56: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: confirmBgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/dialog.dart:351:52: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. color: widget.bgColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/bottom_sheet.dart:31:61: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. backgroundColor: backgroundColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/bottom_sheet.dart:79:61: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Downloads/flutter_windows_3.24.2-stable/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'. backgroundColor: backgroundColor ?? Theme.of(context).backgroundColor, ^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/appbar.dart:332:48: Error: The getter 'headline5' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'headline5'. TextStyle? centerStyle = widget.textTheme?.headline5 ?? ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/appbar.dart:335:46: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. TextStyle? sideStyle = widget.textTheme?.bodyText2 ?? ^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-3.6.0/lib/src/flutter/appbar.dart:337:32: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter_windows_3.24.2-stable/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 'bodyText2'. theme.primaryTextTheme.bodyText2; ^^^^^^^^^ Target kernel_snapshot_program failed: Exception
Share asked Jan 31 at 5:19 studentstudent 1
Add a comment  | 

1 Answer 1

Reset to default 0

Try using a newer version of velocity_x, also what version of flutter are you using?

转载请注明原文地址:http://anycun.com/QandA/1744879611a88921.html