-
Notifications
You must be signed in to change notification settings - Fork 189
Description
Hello everyone, I am getting a massive error here when trying to build on Chrome from MacOS.
Anyone managed to build on Mac? if yes, mind sharing a fork?
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
lib/ui/utils/global_draggable.dart:299:3: Error: Expected 0 type arguments.
MultiDragGestureRecognizer createRecognizer(GestureMultiDragStartCallback onStart) {
^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:419:9: Error: Type 'Overflow' not found.
final Overflow overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:464:5: Error: Type 'Overflow' not found.
Overflow overflow = Overflow.clip,
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:562:3: Error: Type 'Overflow' not found.
Overflow get overflow => _overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:563:3: Error: Type 'Overflow' not found.
Overflow _overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:564:16: Error: Type 'Overflow' not found.
set overflow(Overflow value) {
^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:702:41: Error: Type 'OutlineButton' not found.
static void _parseOutlineButton(OutlineButton widget, WidgetBoard widgetBoard, String parentId, SlotData slotData) {
^^^^^^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:716:40: Error: Type 'RaisedButton' not found.
static void _parseRaisedButton(RaisedButton widget, WidgetBoard widgetBoard, String parentId, SlotData slotData) {
^^^^^^^^^^^^
lib/ui/pages/workspace_page/workspace_page.dart:29:8: Error: The return type of the method 'MShortCutManager.handleKeypress' is 'bool', which does not match the return type, 'KeyEventResult', of the overridden method, 'ShortcutManager.handleKeypress'.
- 'KeyEventResult' is from 'package:flutter/src/widgets/focus_manager.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').
Change to a subtype of 'KeyEventResult'.
bool handleKeypress(
^
../../development/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:743:18: Context: This is the overridden method ('handleKeypress').
KeyEventResult handleKeypress(BuildContext context, RawKeyEvent event) {
^
lib/ui/widgets/general/simple_2D_canvas.dart:376:21: Error: Undefined name 'Overflow'.
this.overflow = Overflow.clip,
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:464:25: Error: Undefined name 'Overflow'.
Overflow overflow = Overflow.clip,
^^^^^^^^
lib/data/properties/icon_property/m_icons.dart:5355:17: Error: Member not found: 'pie_chart_outlined'.
icon: Icons.pie_chart_outlined,
^^^^^^^^^^^^^^^^^^
lib/ui/pages/workspace_page/workspace_page.dart:65:60: Error: No named parameter with the name 'nullOk'.
return Actions.invoke(primaryContext, matchedIntent, nullOk: true);
^^^^^^
../../development/flutter/packages/flutter/lib/src/widgets/actions.dart:860:18: Context: Found this candidate, but the arguments don't match.
static Object? invoke(
^^^^^^
lib/ui/pages/workspace_page/workspace_page.dart:134:17: Error: 'NavigationBar' is imported from both 'package:flutter/src/material/navigation_bar.dart' and 'package:widget_maker_2_0/ui/pages/workspace_page/bars/navigation_bar.dart'.
NavigationBar(
^^^^^^^^^^^^^
lib/ui/pages/workspace_page/workspace_page.dart:122:9: Error: No named parameter with the name 'manager'.
manager: MShortCutManager(),
^^^^^^^
../../development/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:831:9: Context: Found this candidate, but the arguments don't match.
const Shortcuts({
^^^^^^^^^
lib/ui/pages/workspace_page/workspace_page.dart:256:28: Error: The method 'RaisedButton' isn't defined for the class 'CodeWorkspace'. - 'CodeWorkspace' is from 'package:widget_maker_2_0/ui/pages/workspace_page/workspace_page.dart' ('lib/ui/pages/workspace_page/workspace_page.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
lib/ui/theme.dart:13:56: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'. - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
final _MyInheritedTheme myInheritedTheme = context.inheritFromWidgetOfExactType(_MyInheritedTheme);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/widgets/dialogs/new_project_dialog.dart:34:80: Error: The getter 'display1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'display1'.
child: Text("Widget Maker", style: Theme.of(context).textTheme.display1,)
^^^^^^^^
lib/ui/widgets/dialogs/new_project_dialog.dart:45:87: Error: The getter 'title' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'title'.
Text("Start from scratch", style: Theme.of(context).textTheme.title,),
^^^^^
lib/ui/widgets/dialogs/new_project_dialog.dart:73:88: Error: The getter 'title' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'title'.
Text("Start from template", style: Theme.of(context).textTheme.title,),
^^^^^
lib/ui/pages/workspace_page/bars/left_bar/left_bar.dart:23:11: Error: The method 'RaisedButton' isn't defined for the class 'LeftBar'. - 'LeftBar' is from 'package:widget_maker_2_0/ui/pages/workspace_page/bars/left_bar/left_bar.dart' ('lib/ui/pages/workspace_page/bars/left_bar/left_bar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
RaisedButton(
^^^^^^^^^^^^
../../development/flutter/.pub-cache/git/flutter_desktop_widgets2-48171a6d755483251bc127ba829f4d2e526a773d/lib/src/keyboard.dart:175:14: Error: The argument type 'bool Function(dynamic, RawKeyEvent)' can't be assigned to the parameter type 'KeyEventResult Function(FocusNode, RawKeyEvent)'. - 'RawKeyEvent' is from 'package:flutter/src/services/raw_keyboard.dart' ('../../development/flutter/packages/flutter/lib/src/services/raw_keyboard.dart').
- 'KeyEventResult' is from 'package:flutter/src/widgets/focus_manager.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').
- 'FocusNode' is from 'package:flutter/src/widgets/focus_manager.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').
onKey: onKey,
^
../../development/flutter/.pub-cache/git/flutter_desktop_widgets2-48171a6d755483251bc127ba829f4d2e526a773d/lib/src/keyboard.dart:181:14: Error: The argument type 'bool Function(dynamic, RawKeyEvent)' can't be assigned to the parameter type 'KeyEventResult Function(FocusNode, RawKeyEvent)'. - 'RawKeyEvent' is from 'package:flutter/src/services/raw_keyboard.dart' ('../../development/flutter/packages/flutter/lib/src/services/raw_keyboard.dart').
- 'KeyEventResult' is from 'package:flutter/src/widgets/focus_manager.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').
- 'FocusNode' is from 'package:flutter/src/widgets/focus_manager.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/focus_manager.dart').
onKey: onKey,
^
../../development/flutter/.pub-cache/git/file_system_explorer-38d98d338b2ec091154a9ccf5401678e56892cf1/lib/src/file_picker.dart:108:29: Error: A value of type '_CurrentFileSystemEntitiy' can't be assigned to a variable of type 'Widget'. - '_CurrentFileSystemEntitiy' is from 'package:file_system_explorer/src/file_picker.dart' ('../../development/flutter/.pub-cache/git/file_system_explorer-38d98d338b2ec091154a9ccf5401678e56892cf1/lib/src/file_picker.dart').
- 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/framework.dart').
builder: (context) => __currentFileSystemEntitiy,
^
../../development/flutter/.pub-cache/git/file_system_explorer-38d98d338b2ec091154a9ccf5401678e56892cf1/lib/src/file_picker.dart:120:40: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
style: theme.textTheme.body1,
^^^^^
../../development/flutter/.pub-cache/git/file_system_explorer-38d98d338b2ec091154a9ccf5401678e56892cf1/lib/src/file_picker.dart:169:79: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
child: Text("Ok", style: TextStyle(color: theme.textTheme.body1.color, fontWeight: FontWeight.w600),),
^^^^^
../../development/flutter/.pub-cache/git/file_system_explorer-38d98d338b2ec091154a9ccf5401678e56892cf1/lib/src/file_picker.dart:175:66: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
child: Text("Cancle", style: theme.textTheme.body1,),
^^^^^
../../development/flutter/.pub-cache/git/file_system_explorer-38d98d338b2ec091154a9ccf5401678e56892cf1/lib/src/file_picker.dart:108:16: Error: The argument type 'Widget Function(BuildContext)' can't be assigned to the parameter type 'Widget Function(BuildContext, Widget)'. - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/framework.dart').
- 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/framework.dart').
builder: (context) => __currentFileSystemEntitiy,
^
lib/ui/widgets/general/simple_2D_canvas.dart:114:31: Error: The getter 'Overflow' isn't defined for the class '_Simple2DCanvasState'. - '_Simple2DCanvasState' is from 'package:widget_maker_2_0/ui/widgets/general/simple_2D_canvas.dart' ('lib/ui/widgets/general/simple_2D_canvas.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Overflow'.
overflow: Overflow.visible,
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:419:9: Error: 'Overflow' isn't a type.
final Overflow overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:446:33: Error: 'Overflow' isn't a type.
properties.add(EnumProperty('overflow', overflow));
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:464:5: Error: 'Overflow' isn't a type.
Overflow overflow = Overflow.clip,
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:563:3: Error: 'Overflow' isn't a type.
Overflow _overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:564:16: Error: 'Overflow' isn't a type.
set overflow(Overflow value) {
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:736:22: Error: The getter 'Overflow' isn't defined for the class 'RenderStack2'. - 'RenderStack2' is from 'package:widget_maker_2_0/ui/widgets/general/simple_2D_canvas.dart' ('lib/ui/widgets/general/simple_2D_canvas.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Overflow'.
if (_overflow == Overflow.clip && _hasVisualOverflow) {
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:752:33: Error: 'Overflow' isn't a type.
properties.add(EnumProperty('overflow', overflow));
^^^^^^^^
lib/templates/new_templates.dart:29:7: Error: No named parameter with the name 'autovalidate'.
autovalidate: true,
^^^^^^^^^^^^
../../development/flutter/packages/flutter/lib/src/widgets/form.dart:40:9: Context: Found this candidate, but the arguments don't match.
const Form({
^^^^
lib/ui/pages/workspace_page/bars/left_bar/widget_tree.dart:74:75: Error: The getter 'title' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'title'.
child: Text("Widget-Tree", style: Theme.of(context).textTheme.title,),
^^^^^
lib/ui/pages/workspace_page/bars/left_bar/widget_tree.dart:154:79: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
child: Text(element.object.name, style: Theme.of(context).textTheme.body1,),
^^^^^
lib/ui/pages/workspace_page/bars/left_bar/widget_tree.dart:179:82: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
Text(element.object.name, style: Theme.of(context).textTheme.body1,),
^^^^^
lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart:82:46: Error: The getter 'title' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'title'.
style: Theme.of(context).textTheme.title,
^^^^^
lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart:89:24: Error: The method 'OutlineButton' isn't defined for the class '_ConfigurationBarState'. - '_ConfigurationBarState' is from 'package:widget_maker_2_0/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart' ('lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'OutlineButton'.
child: OutlineButton(
^^^^^^^^^^^^^
lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart:98:24: Error: The method 'OutlineButton' isn't defined for the class '_ConfigurationBarState'. - '_ConfigurationBarState' is from 'package:widget_maker_2_0/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart' ('lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'OutlineButton'.
child: OutlineButton(
^^^^^^^^^^^^^
lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart:111:24: Error: The method 'OutlineButton' isn't defined for the class '_ConfigurationBarState'. - '_ConfigurationBarState' is from 'package:widget_maker_2_0/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart' ('lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart').
Try correcting the name to the name of an existing method, or defining a method named 'OutlineButton'.
child: OutlineButton(
^^^^^^^^^^^^^
lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart:133:48: Error: The getter 'title' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'title'.
style: Theme.of(context).textTheme.title,
^^^^^
lib/ui/pages/workspace_page/bars/right_bar/configuration_bar.dart:139:52: Error: The getter 'subtitle' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'subtitle'.
style: Theme.of(context).textTheme.subtitle,
^^^^^^^^
lib/data/widget_elements/widgets/base.dart:57:29: Error: The method 'ancestorWidgetOfExactType' isn't defined for the class 'BuildContext'. - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../development/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ancestorWidgetOfExactType'.
isInReference = context.ancestorWidgetOfExactType(InstancedWidgetElementWidget) != null;
^^^^^^^^^^^^^^^^^^^^^^^^^
lib/data/widget_elements/widgets/base.dart:143:9: Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
../../development/flutter/packages/flutter/lib/src/widgets/basic.dart:3787:3: Context: Found this candidate, but the arguments don't match.
Stack({
^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:113:18: Error: Undefined name 'OutlineButton'.
case OutlineButton: _parseOutlineButton(widget, widgetBoard, parentId, slotData);
^^^^^^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:115:18: Error: Undefined name 'RaisedButton'.
case RaisedButton: _parseRaisedButton(widget, widgetBoard, parentId, slotData);
^^^^^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:702:41: Error: 'OutlineButton' isn't a type.
static void _parseOutlineButton(OutlineButton widget, WidgetBoard widgetBoard, String parentId, SlotData slotData) {
^^^^^^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:716:40: Error: 'RaisedButton' isn't a type.
static void _parseRaisedButton(RaisedButton widget, WidgetBoard widgetBoard, String parentId, SlotData slotData) {
^^^^^^^^^^^^
lib/data/properties/value_changers/string_changer.dart:18:46: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
style: Theme.of(context).textTheme.body1,
^^^^^
lib/data/properties/value_changers/widgets/number_changer.dart:182:48: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
style: Theme.of(context).textTheme.body1,
^^^^^
lib/data/widget_elements/display/display.dart:65:12: Error: The method 'OutlineButton' isn't defined for the class 'DOutlineButton'. - 'DOutlineButton' is from 'package:widget_maker_2_0/data/widget_elements/display/display.dart' ('lib/data/widget_elements/display/display.dart').
Try correcting the name to the name of an existing method, or defining a method named 'OutlineButton'.
return OutlineButton(
^^^^^^^^^^^^^
lib/data/widget_elements/display/display.dart:75:12: Error: The method 'RaisedButton' isn't defined for the class 'DRaisedButton'. - 'DRaisedButton' is from 'package:widget_maker_2_0/data/widget_elements/display/display.dart' ('lib/data/widget_elements/display/display.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
return RaisedButton(
^^^^^^^^^^^^
lib/data/widget_elements/generated/widgets/OutlineButton.dart:86:16: Error: The method 'OutlineButton' isn't defined for the class '_OutlineButtonElementWidgetState'. - '_OutlineButtonElementWidgetState' is from 'package:widget_maker_2_0/data/widget_elements/generated/widgets/OutlineButton.dart' ('lib/data/widget_elements/generated/widgets/OutlineButton.dart').
Try correcting the name to the name of an existing method, or defining a method named 'OutlineButton'.
child: OutlineButton(
^^^^^^^^^^^^^
lib/data/widget_elements/generated/widgets/RaisedButton.dart:96:16: Error: The method 'RaisedButton' isn't defined for the class '_RaisedButtonElementWidgetState'. - '_RaisedButtonElementWidgetState' is from 'package:widget_maker_2_0/data/widget_elements/generated/widgets/RaisedButton.dart' ('lib/data/widget_elements/generated/widgets/RaisedButton.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
lib/data/properties/icon_property/m_icons.dart:1671:10: Error: Member not found: 'pie_chart_outlined'.
Icons.pie_chart_outlined: "pie_chart_outlined",
^^^^^^^^^^^^^^^^^^
../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_colorpicker-0.3.4/lib/src/colorpicker.dart:305:53: Error: The getter 'body2' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body2'.
Theme.of(context).textTheme.body2.copyWith(
^^^^^
../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_colorpicker-0.3.4/lib/src/hsv_picker.dart:419:53: Error: The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../development/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 'body1'.
Theme.of(context).textTheme.body1.copyWith(
^^^^^
Failed to compile application.