Launching lib\main.dart on Edge in debug mode...
/C:/src/flutter/packages/flutter/lib/material.dart:156:1: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggle_buttons.dart': The system cannot find the file specified.
export 'src/material/toggle_buttons.dart';
^
/C:/src/flutter/packages/flutter/lib/material.dart:157:1: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggle_buttons_theme.dart': The system cannot find the file specified.
export 'src/material/toggle_buttons_theme.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:48:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggle_buttons_theme.dart': The system cannot find the file specified.
import 'toggle_buttons_theme.dart';
^
/C:/src/flutter/packages/flutter/lib/material.dart:158:1: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggleable.dart': The system cannot find the file specified.
export 'src/material/toggleable.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:12:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggleable.dart': The system cannot find the file specified.
import 'toggleable.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:12:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggleable.dart': The system cannot find the file specified.
import 'toggleable.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:17:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/toggleable.dart': The system cannot find the file specified.
import 'toggleable.dart';
^
/C:/src/flutter/packages/flutter/lib/material.dart:159:1: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
export 'src/material/tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/app.dart:20:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:18:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/chip.dart:22:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/data_table.dart:22:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart:16:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/icon_button.dart:18:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/navigation_bar.dart:16:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/popup_menu.dart:21:8: Error: Error when reading '/C:/src/flutter/packages/flutter/lib/src/material/tooltip.dart': The system cannot find the file specified.
import 'tooltip.dart';
^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:316:77: Error: Type 'ToggleableStateMixin' not found.
class _CheckboxState extends State<Checkbox> with TickerProviderStateMixin, ToggleableStateMixin {
^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:486:32: Error: Type 'ToggleablePainter' not found.
class _CheckboxPainter extends ToggleablePainter {
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:289:77: Error: Type 'ToggleableStateMixin' not found.
class _RadioState<T> extends State<Radio<T>> with TickerProviderStateMixin, ToggleableStateMixin {
^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:440:29: Error: Type 'ToggleablePainter' not found.
class _RadioPainter extends ToggleablePainter {
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:509:90: Error: Type 'ToggleableStateMixin' not found.
class _MaterialSwitchState extends State<_MaterialSwitch> with TickerProviderStateMixin, ToggleableStateMixin {
^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:751:30: Error: Type 'ToggleablePainter' not found.
class _SwitchPainter extends ToggleablePainter {
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:322:5: Error: Type 'ToggleButtonsThemeData' not found.
ToggleButtonsThemeData? toggleButtonsTheme,
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:1401:9: Error: Type 'ToggleButtonsThemeData' not found.
final ToggleButtonsThemeData toggleButtonsTheme;
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:1631:5: Error: Type 'ToggleButtonsThemeData' not found.
ToggleButtonsThemeData? toggleButtonsTheme,
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:316:7: Error: The type 'ToggleableStateMixin' can't be mixed in.
class _CheckboxState extends State<Checkbox> with TickerProviderStateMixin, ToggleableStateMixin {
^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:289:7: Error: The type 'ToggleableStateMixin' can't be mixed in.
class _RadioState<T> extends State<Radio<T>> with TickerProviderStateMixin, ToggleableStateMixin {
^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:509:7: Error: The type 'ToggleableStateMixin' can't be mixed in.
class _MaterialSwitchState extends State<_MaterialSwitch> with TickerProviderStateMixin, ToggleableStateMixin {
^
/C:/src/flutter/packages/flutter/lib/src/material/app.dart:944:16: Error: The getter 'Tooltip' isn't defined for the class '_MaterialAppState'.
- '_MaterialAppState' is from 'package:flutter/src/material/app.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/app.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Tooltip'.
return Tooltip.dismissAllToolTips() ? KeyEventResult.handled : KeyEventResult.ignored;
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:527:16: Error: The method 'Tooltip' isn't defined for the class '_BottomNavigationTile'.
- '_BottomNavigationTile' is from 'package:flutter/src/material/bottom_navigation_bar.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
result = Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:331:7: Error: The method 'animateToValue' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'animateToValue'.
animateToValue();
^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:337:14: Error: The method 'dispose' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'dispose'.
_painter.dispose();
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:377:65: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
return MaterialStateProperty.resolveAs<BorderSide?>(side, states);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:378:10: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
if (!states.contains(MaterialState.selected))
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:412:45: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> activeStates = states..add(MaterialState.selected);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:413:47: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> inactiveStates = states..remove(MaterialState.selected);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:423:46: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> focusedStates = states..add(MaterialState.focused);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:429:46: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> hoveredStates = states..add(MaterialState.hovered);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:446:54: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
?? themeData.checkboxTheme.checkColor?.resolve(states)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:451:14: Error: The method 'buildToggleable' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'buildToggleable'.
child: buildToggleable(
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:457:24: Error: The getter 'position' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
..position = position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:457:13: Error: The setter 'position' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'position'.
..position = position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:458:24: Error: The getter 'reaction' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reaction'.
..reaction = reaction
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:458:13: Error: The setter 'reaction' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reaction'.
..reaction = reaction
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:459:33: Error: The getter 'reactionFocusFade' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionFocusFade'.
..reactionFocusFade = reactionFocusFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:459:13: Error: The setter 'reactionFocusFade' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionFocusFade'.
..reactionFocusFade = reactionFocusFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:460:33: Error: The getter 'reactionHoverFade' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionHoverFade'.
..reactionHoverFade = reactionHoverFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:460:13: Error: The setter 'reactionHoverFade' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionHoverFade'.
..reactionHoverFade = reactionHoverFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:461:13: Error: The setter 'inactiveReactionColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveReactionColor'.
..inactiveReactionColor = effectiveInactivePressedOverlayColor
^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:462:13: Error: The setter 'reactionColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionColor'.
..reactionColor = effectiveActivePressedOverlayColor
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:463:13: Error: The setter 'hoverColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hoverColor'.
..hoverColor = effectiveHoverOverlayColor
^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:464:13: Error: The setter 'focusColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'focusColor'.
..focusColor = effectiveFocusOverlayColor
^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:465:13: Error: The setter 'splashRadius' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'splashRadius'.
..splashRadius = widget.splashRadius ?? themeData.checkboxTheme.splashRadius ?? kRadialReactionRadius
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:466:28: Error: The getter 'downPosition' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'downPosition'.
..downPosition = downPosition
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:466:13: Error: The setter 'downPosition' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'downPosition'.
..downPosition = downPosition
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:467:25: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
..isFocused = states.contains(MaterialState.focused)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:467:13: Error: The setter 'isFocused' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'isFocused'.
..isFocused = states.contains(MaterialState.focused)
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:468:25: Error: The getter 'states' isn't defined for the class '_CheckboxState'.
- '_CheckboxState' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
..isHovered = states.contains(MaterialState.hovered)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:468:13: Error: The setter 'isHovered' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'isHovered'.
..isHovered = states.contains(MaterialState.hovered)
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:469:13: Error: The setter 'activeColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'activeColor'.
..activeColor = effectiveActiveColor
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:470:13: Error: The setter 'inactiveColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveColor'.
..inactiveColor = effectiveInactiveColor
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:494:5: Error: The method 'notifyListeners' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:504:5: Error: The method 'notifyListeners' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:514:5: Error: The method 'notifyListeners' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:524:5: Error: The method 'notifyListeners' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:534:5: Error: The method 'notifyListeners' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:552:24: Error: The getter 'activeColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
return t >= 0.25 ? activeColor : Color.lerp(inactiveColor, activeColor, t * 4.0)!;
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:552:49: Error: The getter 'inactiveColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
return t >= 0.25 ? activeColor : Color.lerp(inactiveColor, activeColor, t * 4.0)!;
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:552:64: Error: The getter 'activeColor' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
return t >= 0.25 ? activeColor : Color.lerp(inactiveColor, activeColor, t * 4.0)!;
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:609:5: Error: The method 'paintRadialReaction' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing method, or defining a method named 'paintRadialReaction'.
paintRadialReaction(canvas: canvas, origin: size.center(Offset.zero));
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:613:36: Error: The getter 'position' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
final AnimationStatus status = position.status;
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:615:9: Error: The getter 'position' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
? position.value
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:616:15: Error: The getter 'position' isn't defined for the class '_CheckboxPainter'.
- '_CheckboxPainter' is from 'package:flutter/src/material/checkbox.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
: 1.0 - position.value;
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/chip.dart:1800:12: Error: The method 'Tooltip' isn't defined for the class '_RawChipState'.
- '_RawChipState' is from 'package:flutter/src/material/chip.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/chip.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
return Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/data_table.dart:773:15: Error: The method 'Tooltip' isn't defined for the class 'DataTable'.
- 'DataTable' is from 'package:flutter/src/material/data_table.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/data_table.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
label = Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart:630:16: Error: The method 'Tooltip' isn't defined for the class 'FloatingActionButton'.
- 'FloatingActionButton' is from 'package:flutter/src/material/floating_action_button.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
result = Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/icon_button.dart:346:16: Error: The method 'Tooltip' isn't defined for the class 'IconButton'.
- 'IconButton' is from 'package:flutter/src/material/icon_button.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/icon_button.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
result = Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/navigation_bar.dart:791:12: Error: The method 'Tooltip' isn't defined for the class '_NavigationBarDestinationTooltip'.
- '_NavigationBarDestinationTooltip' is from 'package:flutter/src/material/navigation_bar.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/navigation_bar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
return Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/popup_menu.dart:1168:14: Error: The method 'Tooltip' isn't defined for the class 'PopupMenuButtonState<T>'.
- 'PopupMenuButtonState' is from 'package:flutter/src/material/popup_menu.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/popup_menu.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Tooltip'.
return Tooltip(
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:306:7: Error: The method 'animateToValue' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing method, or defining a method named 'animateToValue'.
animateToValue();
^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:312:14: Error: The method 'dispose' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing method, or defining a method named 'dispose'.
_painter.dispose();
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:379:45: Error: The getter 'states' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> activeStates = states..add(MaterialState.selected);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:380:47: Error: The getter 'states' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> inactiveStates = states..remove(MaterialState.selected);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:390:46: Error: The getter 'states' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> focusedStates = states..add(MaterialState.focused);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:396:46: Error: The getter 'states' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> hoveredStates = states..add(MaterialState.hovered);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:415:14: Error: The method 'buildToggleable' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing method, or defining a method named 'buildToggleable'.
child: buildToggleable(
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:421:24: Error: The getter 'position' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
..position = position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:421:13: Error: The setter 'position' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'position'.
..position = position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:422:24: Error: The getter 'reaction' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reaction'.
..reaction = reaction
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:422:13: Error: The setter 'reaction' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reaction'.
..reaction = reaction
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:423:33: Error: The getter 'reactionFocusFade' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionFocusFade'.
..reactionFocusFade = reactionFocusFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:423:13: Error: The setter 'reactionFocusFade' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionFocusFade'.
..reactionFocusFade = reactionFocusFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:424:33: Error: The getter 'reactionHoverFade' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionHoverFade'.
..reactionHoverFade = reactionHoverFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:424:13: Error: The setter 'reactionHoverFade' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionHoverFade'.
..reactionHoverFade = reactionHoverFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:425:13: Error: The setter 'inactiveReactionColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveReactionColor'.
..inactiveReactionColor = effectiveInactivePressedOverlayColor
^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:426:13: Error: The setter 'reactionColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionColor'.
..reactionColor = effectiveActivePressedOverlayColor
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:427:13: Error: The setter 'hoverColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hoverColor'.
..hoverColor = effectiveHoverOverlayColor
^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:428:13: Error: The setter 'focusColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'focusColor'.
..focusColor = effectiveFocusOverlayColor
^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:429:13: Error: The setter 'splashRadius' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'splashRadius'.
..splashRadius = widget.splashRadius ?? themeData.radioTheme.splashRadius ?? kRadialReactionRadius
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:430:28: Error: The getter 'downPosition' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'downPosition'.
..downPosition = downPosition
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:430:13: Error: The setter 'downPosition' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'downPosition'.
..downPosition = downPosition
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:431:25: Error: The getter 'states' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
..isFocused = states.contains(MaterialState.focused)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:431:13: Error: The setter 'isFocused' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'isFocused'.
..isFocused = states.contains(MaterialState.focused)
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:432:25: Error: The getter 'states' isn't defined for the class '_RadioState<T>'.
- '_RadioState' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
..isHovered = states.contains(MaterialState.hovered)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:432:13: Error: The setter 'isHovered' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'isHovered'.
..isHovered = states.contains(MaterialState.hovered)
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:433:13: Error: The setter 'activeColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'activeColor'.
..activeColor = effectiveActiveColor
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:434:13: Error: The setter 'inactiveColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveColor'.
..inactiveColor = effectiveInactiveColor,
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:443:5: Error: The method 'paintRadialReaction' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing method, or defining a method named 'paintRadialReaction'.
paintRadialReaction(canvas: canvas, origin: size.center(Offset.zero));
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:449:28: Error: The getter 'inactiveColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
..color = Color.lerp(inactiveColor, activeColor, position.value)!
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:449:43: Error: The getter 'activeColor' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
..color = Color.lerp(inactiveColor, activeColor, position.value)!
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:449:56: Error: The getter 'position' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
..color = Color.lerp(inactiveColor, activeColor, position.value)!
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:455:10: Error: The getter 'position' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
if (!position.isDismissed) {
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/radio.dart:457:49: Error: The getter 'position' isn't defined for the class '_RadioPainter'.
- '_RadioPainter' is from 'package:flutter/src/material/radio.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/radio.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
canvas.drawCircle(center, _kInnerRadius * position.value, paint);
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:518:11: Error: The getter 'position' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
if (position.value == 0.0 || position.value == 1.0) {
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:518:36: Error: The getter 'position' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
if (position.value == 0.0 || position.value == 1.0) {
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:519:9: Error: The getter 'position' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:523:7: Error: The method 'animateToValue' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'animateToValue'.
animateToValue();
^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:602:9: Error: The getter 'isInteractive' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isInteractive'.
if (isInteractive)
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:603:7: Error: The getter 'reactionController' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionController'.
reactionController.forward();
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:607:9: Error: The getter 'isInteractive' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isInteractive'.
if (isInteractive) {
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:608:7: Error: The getter 'position' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:614:11: Error: The getter 'positionController' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'positionController'.
positionController.value -= delta;
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:617:11: Error: The getter 'positionController' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'positionController'.
positionController.value += delta;
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:626:9: Error: The getter 'position' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
if (position.value >= 0.5 != widget.value) {
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:634:7: Error: The method 'animateToValue' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'animateToValue'.
animateToValue();
^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:636:5: Error: The getter 'reactionController' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionController'.
reactionController.reverse();
^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:652:7: Error: The method 'animateToValue' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'animateToValue'.
animateToValue();
^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:659:45: Error: The getter 'states' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> activeStates = states..add(MaterialState.selected);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:660:47: Error: The getter 'states' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> inactiveStates = states..remove(MaterialState.selected);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:678:46: Error: The getter 'states' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> focusedStates = states..add(MaterialState.focused);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:684:46: Error: The getter 'states' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
final Set<MaterialState> hoveredStates = states..add(MaterialState.hovered);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:714:16: Error: The method 'buildToggleable' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'buildToggleable'.
child: buildToggleable(
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:720:26: Error: The getter 'position' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
..position = position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:720:15: Error: The setter 'position' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'position'.
..position = position
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:721:26: Error: The getter 'reaction' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reaction'.
..reaction = reaction
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:721:15: Error: The setter 'reaction' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reaction'.
..reaction = reaction
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:722:35: Error: The getter 'reactionFocusFade' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionFocusFade'.
..reactionFocusFade = reactionFocusFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:722:15: Error: The setter 'reactionFocusFade' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionFocusFade'.
..reactionFocusFade = reactionFocusFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:723:35: Error: The getter 'reactionHoverFade' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'reactionHoverFade'.
..reactionHoverFade = reactionHoverFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:723:15: Error: The setter 'reactionHoverFade' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionHoverFade'.
..reactionHoverFade = reactionHoverFade
^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:724:15: Error: The setter 'inactiveReactionColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveReactionColor'.
..inactiveReactionColor = effectiveInactivePressedOverlayColor
^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:725:15: Error: The setter 'reactionColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'reactionColor'.
..reactionColor = effectiveActivePressedOverlayColor
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:726:15: Error: The setter 'hoverColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hoverColor'.
..hoverColor = effectiveHoverOverlayColor
^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:727:15: Error: The setter 'focusColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'focusColor'.
..focusColor = effectiveFocusOverlayColor
^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:728:15: Error: The setter 'splashRadius' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'splashRadius'.
..splashRadius = widget.splashRadius ?? theme.switchTheme.splashRadius ?? kRadialReactionRadius
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:729:30: Error: The getter 'downPosition' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'downPosition'.
..downPosition = downPosition
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:729:15: Error: The setter 'downPosition' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'downPosition'.
..downPosition = downPosition
^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:730:27: Error: The getter 'states' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
..isFocused = states.contains(MaterialState.focused)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:730:15: Error: The setter 'isFocused' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'isFocused'.
..isFocused = states.contains(MaterialState.focused)
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:731:27: Error: The getter 'states' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'states'.
..isHovered = states.contains(MaterialState.hovered)
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:731:15: Error: The setter 'isHovered' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'isHovered'.
..isHovered = states.contains(MaterialState.hovered)
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:732:15: Error: The setter 'activeColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'activeColor'.
..activeColor = effectiveActiveThumbColor
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:733:15: Error: The setter 'inactiveColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveColor'.
..inactiveColor = effectiveInactiveThumbColor
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:741:31: Error: The getter 'isInteractive' isn't defined for the class '_MaterialSwitchState'.
- '_MaterialSwitchState' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'isInteractive'.
..isInteractive = isInteractive
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:758:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:768:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:777:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:787:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:797:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:807:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:817:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:827:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:837:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:847:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:857:5: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:882:7: Error: The method 'notifyListeners' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'notifyListeners'.
notifyListeners();
^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:888:33: Error: The getter 'position' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
final double currentValue = position.value;
^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:901:47: Error: The getter 'inactiveColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
final Color lerpedThumbColor = Color.lerp(inactiveColor, activeColor, currentValue)!;
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:901:62: Error: The getter 'activeColor' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
final Color lerpedThumbColor = Color.lerp(inactiveColor, activeColor, currentValue)!;
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:923:5: Error: The method 'paintRadialReaction' isn't defined for the class '_SwitchPainter'.
- '_SwitchPainter' is from 'package:flutter/src/material/switch.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/switch.dart').
Try correcting the name to the name of an existing method, or defining a method named 'paintRadialReaction'.
paintRadialReaction(canvas: canvas, origin: radialReactionOrigin);
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:1010:11: Error: Superclass has no method named 'dispose'.
super.dispose();
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:322:5: Error: 'ToggleButtonsThemeData' isn't a type.
ToggleButtonsThemeData? toggleButtonsTheme,
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:542:34: Error: Couldn't find constructor 'ToggleButtonsThemeData'.
toggleButtonsTheme ??= const ToggleButtonsThemeData();
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:1401:9: Error: 'ToggleButtonsThemeData' isn't a type.
final ToggleButtonsThemeData toggleButtonsTheme;
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:1631:5: Error: 'ToggleButtonsThemeData' isn't a type.
ToggleButtonsThemeData? toggleButtonsTheme,
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:1943:27: Error: Undefined name 'ToggleButtonsThemeData'.
toggleButtonsTheme: ToggleButtonsThemeData.lerp(a.toggleButtonsTheme, b.toggleButtonsTheme, t)!,
^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:2234:40: Error: 'ToggleButtonsThemeData' isn't a type.
properties.add(DiagnosticsProperty<ToggleButtonsThemeData>('toggleButtonsTheme', toggleButtonsTheme, level: DiagnosticLevel.debug));
^^^^^^^^^^^^^^^^^^^^^^
Unhandled exception:
NoSuchMethodError: The getter 'name' was called on null.
Receiver: null
Tried calling: name
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
#1 ProgramCompiler._emitSuperTarget (package:dev_compiler/src/kernel/compiler.dart:5373:41)
#2 ProgramCompiler.visitSuperMethodInvocation (package:dev_compiler/src/kernel/compiler.dart:5366:24)
#3 SuperMethodInvocation.accept (package:kernel/ast.dart:6215:44)
#4 ProgramCompiler._visitExpression (package:dev_compiler/src/kernel/compiler.dart:3870:20)
#5 ProgramCompiler.visitExpressionStatement (package:dev_compiler/src/kernel/compiler.dart:3951:12)
#6 ExpressionStatement.accept (package:kernel/ast.dart:8842:43)
#7 ProgramCompiler._visitStatement (package:dev_compiler/src/kernel/compiler.dart:3776:20)
#8 MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#9 ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#10 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:206:27)
#11 new _GrowableList.of (dart:core-patch/growable_array.dart:153:28)
#12 new List.of (dart:core-patch/array_patch.dart:51:28)
#13 ListIterable.toList (dart:_internal/iterable.dart:213:44)
#14 ProgramCompiler.visitBlock (package:dev_compiler/src/kernel/compiler.dart:3964:62)
#15 Block.accept (package:kernel/ast.dart:8898:43)
#16 ProgramCompiler._visitStatement (package:dev_compiler/src/kernel/compiler.dart:3776:20)
#17 ProgramCompiler._emitFunctionScopedBody (package:dev_compiler/src/kernel/compiler.dart:3809:18)
#18 ProgramCompiler._emitSyncFunctionBody.<anonymous closure> (package:dev_compiler/src/kernel/compiler.dart:3578:17)
#19 ProgramCompiler._withLetScope (package:dev_compiler/src/kernel/compiler.dart:2376:25)
#20 ProgramCompiler._withCurrentFunction (package:dev_compiler/src/kernel/compiler.dart:3612:18)
#21 ProgramCompiler._emitSyncFunctionBody (package:dev_compiler/src/kernel/compiler.dart:3574:17)
#22 ProgramCompiler._emitFunction (package:dev_compiler/src/kernel/compiler.dart:3391:11)
#23 ProgramCompiler._emitMethodDeclaration (package:dev_compiler/src/kernel/compiler.dart:1970:12)
#24 ProgramCompiler._emitClassMethods (package:dev_compiler/src/kernel/compiler.dart:1911:23)
#25 ProgramCompiler._emitClassDeclaration (package:dev_compiler/src/kernel/compiler.dart:700:21)
#26 ProgramCompiler._emitClass (package:dev_compiler/src/kernel/compiler.dart:622:21)
#27 List.forEach (dart:core-patch/growable_array.dart:433:8)
#28 ProgramCompiler._emitLibrary (package:dev_compiler/src/kernel/compiler.dart:571:23)
#29 List.forEach (dart:core-patch/growable_array.dart:433:8)
#30 ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:431:15)
#31 JavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:152:33)
<asynchronous suspension>
#32 FrontendCompiler.writeJavascriptBundle (package:frontend_server/frontend_server.dart:665:32)
<asynchronous suspension>
#33 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:573:9)
<asynchronous suspension>
#34 listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1154:11)
<asynchronous suspension>
the Dart compiler exited unexpectedly.
Failed to compile application.
Exited (sigterm)
السؤال
Ahmed Maher23
رسالة الخطأ
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.