nosuchmethod error

I/flutter ( 2856): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 2856): The following NoSuchMethodError was thrown building Text("You have pushed the button this many
I/flutter ( 2856): times:", dirty):
I/flutter ( 2856): No top-level method '' declared.
I/flutter ( 2856): Receiver: top-level
I/flutter ( 2856): Tried calling: (style: Instance of 'TextStyle', text: "You have pushed the button this many times:",
I/flutter ( 2856): children: null)
I/flutter ( 2856): When the exception was thrown, this was the stack:
I/flutter ( 2856): #0      Text.build (package:flutter/src/widgets/text.dart)
I/flutter ( 2856): #1      StatelessElement.build (package:flutter/src/widgets/framework.dart:3731:28)
I/flutter ( 2856): #2      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3678:15)
I/flutter ( 2856): #3      Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #4      StatelessElement.update (package:flutter/src/widgets/framework.dart:3738:5)
I/flutter ( 2856): #5      Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #6      RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4521:32)
I/flutter ( 2856): #7      MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4911:17)
I/flutter ( 2856): #8      Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #9      SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #10     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #11     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #12     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #13     ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #14     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #15     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #16     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #17     ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #18     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #19     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4521:32)
I/flutter ( 2856): #20     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4911:17)
I/flutter ( 2856): #21     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #23     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #24     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #25     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #27     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #28     ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #29     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #30     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #31     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #32     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #33     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #34     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #35     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #37     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #38     StatelessElement.update (package:flutter/src/widgets/framework.dart:3738:5)
I/flutter ( 2856): #39     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #40     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #41     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #43     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #44     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #45     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #47     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #48     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #49     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #51     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #52     ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #53     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #54     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #55     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #56     ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #57     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #58     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #59     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #60     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #61     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #62     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #63     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #64     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #65     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #66     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #67     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #68     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #69     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #70     StatelessElement.update (package:flutter/src/widgets/framework.dart:3738:5)
I/flutter ( 2856): #71     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #72     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #73     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #74     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #75     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #76     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #77     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #78     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #79     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #80     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #81     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #82     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #83     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #84     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #85     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #86     StatelessElement.update (package:flutter/src/widgets/framework.dart:3738:5)
I/flutter ( 2856): #87     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #88     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #89     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #90     StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #91     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #92     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #93     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #94     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #95     Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #96     ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #97     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #98     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #99     Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #100    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #101    Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #102    StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
I/flutter ( 2856): #103    Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #104    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #105    Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #106    StatelessElement.update (package:flutter/src/widgets/framework.dart:3738:5)
I/flutter ( 2856): #107    Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #108    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
I/flutter ( 2856): #109    Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #110    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #111    Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #112    ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
I/flutter ( 2856): #113    Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
I/flutter ( 2856): #114    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
I/flutter ( 2856): #115    Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
I/flutter ( 2856): #116    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2273:33)
I/flutter ( 2856): #117    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
I/flutter ( 2856): #118    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter ( 2856): #119    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 2856): #120    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 2856): #121    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 2856): #123    _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 2856): #124    _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 2856): #125    _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
I/flutter ( 2856): (elided one frame from package dart:async)
I/flutter ( 2856): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 2856): Another exception was thrown: NoSuchMethodError: No top-level method '' declared.
I/flutter ( 2856): Another exception was thrown: NoSuchMethodError: No top-level method '' declared.
I/flutter ( 2856): Another exception was thrown: NoSuchMethodError: No top-level method '' declared.
I/flutter ( 2856): Another exception was thrown: NoSuchMethodError: No top-level method '' declared.
I/flutter ( 2856): Another exception was thrown: NoSuchMethodError: No top-level method '' declared.
Reloaded 0 of 412 libraries in 1,274ms.

Please add the output of flutter doctor -v
and a minimal reproduction of the code that causes the exception,
and some explanation what steps to take to reproduce.

C:\Users\Nick>flutter doctor -v
[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version
10.0.17134.376], locale en-IN)
• Flutter version 0.9.4 at C:\Users\Nick\flutter
• Framework revision f37c235c32 (6 weeks ago), 2018-09-25 17:45:40 -0400
• Engine revision 74625aed32
• Dart version 2.1.0-dev.5.0.flutter-a2eb050044
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\Nick\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native
profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = C:\Users\Nick\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 29.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
[√] VS Code (version 1.28.2)
• VS Code at C:\Users\Nick\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.20.0
[√] Connected devices (1 available)
• Lenovo A7020a48 • BE65GAFM7H8HYTS4 • android-arm64 • Android 6.0 (API
23)
• No issues found!
error message in console while running demo app(which was already written
as default)
Launching lib\main.dart on Lenovo A7020a48 in debug mode...
Launching lib\main.dart on Lenovo A7020a48 in debug mode...
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Compiler message:
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:243:24:
Error: Expected an identifier, but got '{'.
ContainerTextt text, {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:244:5:
Error: Expected ';' after this.
Key key,
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:245:5:
Error: Expected an identifier, but got 'this'.
this.alignment,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:245:5:
Error: Expected ';' after this.
this.alignment,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:245:9:
Error: Expected a class member, but got '.'.
this.alignment,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:245:10:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
this.alignment,
^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:246:5:
Error: Expected an identifier, but got 'this'.
this.padding,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:246:5:
Error: Expected ';' after this.
this.padding,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:246:5:
Error: 'this' is already declared in this scope.
this.padding,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:245:5:
Error: Previous declaration of 'this'.
this.alignment,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:246:9:
Error: Expected a class member, but got '.'.
this.padding,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:246:10:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
this.padding,
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:247:5:
Error: Expected ';' after this.
Color color,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:247:11:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
Color color,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:248:5:
Error: Expected ';' after this.
Decoration decoration,
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:248:16:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
Decoration decoration,
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:249:5:
Error: Expected an identifier, but got 'this'.
this.foregroundDecoration,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:249:5:
Error: Expected ';' after this.
this.foregroundDecoration,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:249:5:
Error: 'this' is already declared in this scope.
this.foregroundDecoration,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:246:5:
Error: Previous declaration of 'this'.
this.padding,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:249:9:
Error: Expected a class member, but got '.'.
this.foregroundDecoration,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:249:10:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
this.foregroundDecoration,
^^^^^^^^^^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:250:5:
Error: Expected ';' after this.
double width,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:250:12:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
double width,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:251:5:
Error: Expected ';' after this.
double height,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:251:5:
Error: 'double' is already declared in this scope.
double height,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:250:5:
Error: Previous declaration of 'double'.
double width,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:251:12:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
double height,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:252:5:
Error: Expected ';' after this.
BoxConstraints constraints,
^^^^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:252:20:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
BoxConstraints constraints,
^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:253:5:
Error: Expected an identifier, but got 'this'.
this.margin,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:253:5:
Error: Expected ';' after this.
this.margin,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:253:5:
Error: 'this' is already declared in this scope.
this.margin,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:249:5:
Error: Previous declaration of 'this'.
this.foregroundDecoration,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:253:9:
Error: Expected a class member, but got '.'.
this.margin,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:253:10:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
this.margin,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:254:5:
Error: Expected an identifier, but got 'this'.
this.transform,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:254:5:
Error: Expected ';' after this.
this.transform,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:254:5:
Error: 'this' is already declared in this scope.
this.transform,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:253:5:
Error: Previous declaration of 'this'.
this.margin,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:254:9:
Error: Expected a class member, but got '.'.
this.transform,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:254:10:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
this.transform,
^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:5:
Error: Expected an identifier, but got 'this'.
this.child,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:5:
Error: Expected ';' after this.
this.child,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:5:
Error: 'this' is already declared in this scope.
this.child,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:254:5:
Error: Previous declaration of 'this'.
this.transform,
^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:9:
Error: Expected a class member, but got '.'.
this.child,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:10:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
this.child,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:256:3:
Error: Expected an identifier, but got '}'.
}) : assert(margin == null || margin.isNonNegative),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:256:3:
Error: Expected ';' after this.
}) : assert(margin == null || margin.isNonNegative),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:256:3:
Error: '' is already declared in this scope.
}) : assert(margin == null || margin.isNonNegative),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:244:5:
Error: Previous declaration of ''.

Try adding the name of the type of the variable or the keyword 'var'.
decoration = decoration ?? (color != null ? BoxDecoration(color:
color) : null),
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:8:
Error: Expected an identifier, but got 'super'.
super(key: key);
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:8:
Error: Expected ';' after this.
super(key: key);
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:13:
Error: Expected a declaration, but got '('.
super(key: key);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:14:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
super(key: key);
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:14:
Error: Expected ';' after this.
super(key: key);
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:17:
Error: Expected a declaration, but got ':'.
super(key: key);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:19:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
super(key: key);
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:19:
Error: Expected ';' after this.
super(key: key);
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:19:
Error: 'key' is already declared in this scope.
super(key: key);
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:14:
Error: Previous declaration of 'key'.
super(key: key);
^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:22:
Error: Expected a declaration, but got ')'.
super(key: key);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:270:23:
Error: Unexpected token ';'.
super(key: key);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:280:16:
Error: The final variable 'child' must be initialized.
Try adding an initializer ('= ') to the declaration.
final Widget child;
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:296:27:
Error: The final variable 'alignment' must be initialized.
Try adding an initializer ('= ') to the declaration.
final AlignmentGeometry alignment;
^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:303:28:
Error: The final variable 'padding' must be initialized.
Try adding an initializer ('= ') to the declaration.
final EdgeInsetsGeometry padding;
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:310:20:
Error: The final variable 'decoration' must be initialized.
Try adding an initializer ('= ') to the declaration.
final Decoration decoration;
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:310:20:
Error: 'decoration' is already declared in this scope.
final Decoration decoration;
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:264:8:
Error: Previous declaration of 'decoration'.
decoration = decoration ?? (color != null ? BoxDecoration(color:
color) : null),
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:313:20:
Error: The final variable 'foregroundDecoration' must be initialized.
Try adding an initializer ('= ') to the declaration.
final Decoration foregroundDecoration;
^^^^^^^^^^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:321:24:
Error: The final variable 'constraints' must be initialized.
Try adding an initializer ('= ') to the declaration.
final BoxConstraints constraints;
^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:321:24:
Error: 'constraints' is already declared in this scope.
final BoxConstraints constraints;
^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:265:8:
Error: Previous declaration of 'constraints'.
constraints =
^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:324:28:
Error: The final variable 'margin' must be initialized.
Try adding an initializer ('= ') to the declaration.
final EdgeInsetsGeometry margin;
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:327:17:
Error: The final variable 'transform' must be initialized.
Try adding an initializer ('= ') to the declaration.
final Matrix4 transform;
^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:391:1:
Error: Expected a declaration, but got '}'.
}
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:243:3:
Error: Type 'ContainerTextt' not found.
ContainerTextt text, {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:5:
Error: Can't infer the type of 'this': overridden members must all have the
same type.
Specify the type explicitly.
this.child,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:255:5:
Error: The return type of the method 'Container::this' is dynamic, which
does not match the return type of the overridden method (#lib1::Key).
Change to a subtype of #lib1::Key.
this.child,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:245:5:
Error: This is the overridden method ('this').
this.alignment,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The non-abstract class 'Container' is missing implementations for
these members:
'build'.
Try to either

provide an implementation,
inherit an implementation from a superclass or mixin,
mark the class as abstract, or
provide a 'noSuchMethod' implementation.

class Container extends StatelessWidget {
^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/framework.dart:597:10:
Error: 'build' is defined here.
Widget build(BuildContext context);
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/about.dart:281:23:
Error: No named parameter with the name 'height'.
Container(height: 18.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/about.dart:405:11:
Error: No named parameter with the name 'decoration'.
decoration: const BoxDecoration(
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/about.dart:449:17:
Error: No named parameter with the name 'height'.
Container(height: 18.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/about.dart:451:17:
Error: No named parameter with the name 'height'.
Container(height: 18.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/about.dart:453:17:
Error: No named parameter with the name 'height'.
Container(height: 24.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:182:9:
Error: No named parameter with the name 'margin'.
margin: EdgeInsets.only(
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:204:9:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsets.only(bottom: _kBottomMargin),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:235:9:
Error: No named parameter with the name 'margin'.
margin: EdgeInsets.only(
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:195:15:
Error: No named parameter with the name 'padding'.
padding: widget.padding,
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:500:29:
Error: The method 'getMinIntrinsicWidth' isn't defined for the class
'#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'getMinIntrinsicWidth'.
return math.max(child.getMinIntrinsicWidth(height), minSize.width);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:507:29:
Error: The method 'getMinIntrinsicHeight' isn't defined for the class
'#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'getMinIntrinsicHeight'.
return math.max(child.getMinIntrinsicHeight(width), minSize.height);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:514:29:
Error: The method 'getMaxIntrinsicWidth' isn't defined for the class
'#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'getMaxIntrinsicWidth'.
return math.max(child.getMaxIntrinsicWidth(height), minSize.width);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:521:29:
Error: The method 'getMaxIntrinsicHeight' isn't defined for the class
'#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'getMaxIntrinsicHeight'.
return math.max(child.getMaxIntrinsicHeight(width), minSize.height);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:528:20:
Error: Can't use 'constraints' because it is declared more than once.
child.layout(constraints, parentUsesSize: true);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:531:14:
Error: Can't use 'constraints' because it is declared more than once.
size = constraints.constrain(Size(height, width));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:528:13:
Error: The method 'layout' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'layout'.
child.layout(constraints, parentUsesSize: true);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:529:44:
Error: The getter 'size' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'size'.
final double height = math.max(child.size.width, minSize.width);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:530:43:
Error: The getter 'size' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'size'.
final double width = math.max(child.size.height, minSize.height);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:532:51:
Error: The getter 'parentData' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'parentData'.
final BoxParentData childParentData = child.parentData;
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:533:74:
Error: The getter 'size' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'size'.
childParentData.offset = Alignment.center.alongOffset(size -
child.size);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:542:13:
Error: The method 'hitTest' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'hitTest'.
child.hitTest(result, position: child.size.center(Offset.zero));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button.dart:542:45:
Error: The getter 'size' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'size'.
child.hitTest(result, position: child.size.center(Offset.zero));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/button_bar.dart:74:11:
Error: No named parameter with the name 'padding'.
padding: EdgeInsets.symmetric(horizontal: paddingUnit),
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/card.dart:134:9:
Error: No named parameter with the name 'margin'.
margin: margin ?? const EdgeInsets.all(4.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:1452:15:
Error: No named parameter with the name 'decoration'.
decoration: ShapeDecoration(
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:1561:18:
Error: The method 'hitTest' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'hitTest'.
return child.hitTest(result, position: Offset(position.dx, size.height
/ 2));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:1996:9:
Error: Can't use 'constraints' because it is declared more than once.
if (constraints.maxWidth.isFinite) {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2002:13:
Error: Can't use 'constraints' because it is declared more than once.
constraints.maxWidth - iconSizes -
theme.labelPadding.horizontal,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:1998:9:
Error: Can't use 'constraints' because it is declared more than once.
constraints.copyWith(
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2090:47:
Error: Can't use 'constraints' because it is declared more than once.
final BoxConstraints contentConstraints = constraints.loosen();
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2213:12:
Error: Can't use 'constraints' because it is declared more than once.
size = constraints.constrain(paddedSize);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2215:24:
Error: Can't use 'constraints' because it is declared more than once.
size.height == constraints.constrainHeight(paddedSize.height),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2217:12:
Error: Can't use 'constraints' because it is declared more than once.
'${constraints.constrainWidth(paddedSize.height)}');
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2219:23:
Error: Can't use 'constraints' because it is declared more than once.
size.width == constraints.constrainWidth(paddedSize.width),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/chip.dart:2221:12:
Error: Can't use 'constraints' because it is declared more than once.
'${constraints.constrainWidth(paddedSize.width)}');
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/data_table.dart:172:52:
Error: No named parameter with the name 'width'.
static final DataCell empty = DataCell(Container(width: 0.0, height:
0.0));
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/data_table.dart:415:7:
Error: No named parameter with the name 'padding'.
padding: padding,
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/data_table.dart:468:7:
Error: No named parameter with the name 'padding'.
padding: padding,
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/date_picker.dart:155:7:
Error: No named parameter with the name 'width'.
width: width,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/date_picker.dart:193:11:
Error: No named parameter with the name 'padding'.
padding: const EdgeInsets.symmetric(horizontal: 8.0),
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/date_picker.dart:417:11:
Error: No named parameter with the name 'decoration'.
decoration: decoration,
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/date_picker.dart:454:13:
Error: No named parameter with the name 'height'.
height: _kDayPickerRowHeight,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/date_picker.dart:988:23:
Error: No named parameter with the name 'color'.
color: theme.dialogBackgroundColor,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/date_picker.dart:1011:25:
Error: No named parameter with the name 'width'.
width: _kMonthPickerLandscapeWidth,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/divider.dart:102:11:
Error: No named parameter with the name 'height'.
height: 0.0,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/drawer.dart:387:28:
Error: No named parameter with the name 'width'.
child: Container(width: _kEdgeDragWidth)
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/drawer.dart:409:23:
Error: No named parameter with the name 'color'.
color: _color.evaluate(_controller),
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/drawer_header.dart:81:7:
Error: No named parameter with the name 'height'.
height: statusBarHeight + _kDrawerHeaderHeight,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/dropdown.dart:160:13:
Error: No named parameter with the name 'padding'.
padding: widget.padding,
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/dropdown.dart:419:7:
Error: No named parameter with the name 'height'.
height: _kMenuItemHeight,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/dropdown.dart:667:9:
Error: No named parameter with the name 'padding'.
padding: padding.resolve(Directionality.of(context)),
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/dropdown.dart:694:15:
Error: No named parameter with the name 'height'.
height: 1.0,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/expansion_panel.dart:276:13:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsetsDirectional.only(end: 8.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/expansion_panel.dart:293:39:
Error: No named parameter with the name 'height'.
firstChild: Container(height: 0.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/expansion_tile.dart:148:7:
Error: No named parameter with the name 'decoration'.
decoration: BoxDecoration(
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/flexible_space_bar.dart:201:11:
Error: No named parameter with the name 'padding'.
padding: EdgeInsetsDirectional.only(
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:330:18:
Error: Can't use 'constraints' because it is declared more than once.
math.max(constraints.minWidth, math.min(constraints.maxWidth,
child.size.width)),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:330:49:
Error: Can't use 'constraints' because it is declared more than once.
math.max(constraints.minWidth, math.min(constraints.maxWidth,
child.size.width)),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:331:18:
Error: Can't use 'constraints' because it is declared more than once.
math.max(constraints.minHeight, math.min(constraints.maxHeight,
child.size.height)),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:331:50:
Error: Can't use 'constraints' because it is declared more than once.
math.max(constraints.minHeight, math.min(constraints.maxHeight,
child.size.height)),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:335:14:
Error: Can't use 'constraints' because it is declared more than once.
size = constraints.biggest;
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:328:13:
Error: The method 'layout' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing method, or defining a
method named 'layout'.
child.layout(const BoxConstraints(), parentUsesSize: true);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:330:77:
Error: The getter 'size' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'size'.
math.max(constraints.minWidth, math.min(constraints.maxWidth,
child.size.width)),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/floating_action_button.dart:331:79:
Error: The getter 'size' isn't defined for the class '#lib1::Widget'.
Try correcting the name to the name of an existing getter, or defining a
getter or field named 'size'.
math.max(constraints.minHeight, math.min(constraints.maxHeight,
child.size.height)),
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/grid_tile_bar.dart:120:7:
Error: No named parameter with the name 'padding'.
padding: padding,
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/input_decorator.dart:832:45:
Error: Can't use 'constraints' because it is declared more than once.
final double inputWidth = math.max(0.0, constraints.maxWidth - (
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/input_decorator.dart:976:52:
Error: Can't use 'constraints' because it is declared more than once.
final _RenderDecorationLayout layout = _layout(constraints);
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/input_decorator.dart:978:33:
Error: Can't use 'constraints' because it is declared more than once.
final double overallWidth = constraints.maxWidth;
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/input_decorator.dart:1119:12:
Error: Can't use 'constraints' because it is declared more than once.
size = constraints.constrain(Size(overallWidth, overallHeight));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/input_decorator.dart:1120:26:
Error: Can't use 'constraints' because it is declared more than once.
assert(size.width == constraints.constrainWidth(overallWidth));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/input_decorator.dart:1121:27:
Error: Can't use 'constraints' because it is declared more than once.
assert(size.height == constraints.constrainHeight(overallHeight));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/list_tile.dart:907:45:
Error: Can't use 'constraints' because it is declared more than once.
final BoxConstraints looseConstraints = constraints.loosen();
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/list_tile.dart:993:12:
Error: Can't use 'constraints' because it is declared more than once.
size = constraints.constrain(Size(tileWidth, tileHeight));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/list_tile.dart:994:26:
Error: Can't use 'constraints' because it is declared more than once.
assert(size.width == constraints.constrainWidth(tileWidth));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/list_tile.dart:995:27:
Error: Can't use 'constraints' because it is declared more than once.
assert(size.height == constraints.constrainHeight(tileHeight));
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/mergeable_material.dart:54:34:
Error: Can't use 'key' because it is declared more than once.
return 'MergeableSlice(key: $key, child: $child)';
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/mergeable_material.dart:75:31:
Error: Can't use 'key' because it is declared more than once.
return 'MaterialGap(key: $key, child: $size)';
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/mergeable_material.dart:528:13:
Error: No named parameter with the name 'decoration'.
decoration: BoxDecoration(
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/mergeable_material.dart:599:11:
Error: No named parameter with the name 'decoration'.
decoration: BoxDecoration(
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/page_transitions_theme.dart:116:15:
Error: No named parameter with the name 'color'.
color: Colors.black.withOpacity(opacityAnimation.value),
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:338:19:
Error: No named parameter with the name 'width'.
Container(width: 14.0), // to match trailing padding in case we
overflow and end up scrolling
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:358:17:
Error: No named parameter with the name 'width'.
Container(width: 32.0),
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:367:17:
Error: No named parameter with the name 'width'.
Container(width: 32.0),
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:374:17:
Error: No named parameter with the name 'width'.
Container(width: 24.0),
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:381:17:
Error: No named parameter with the name 'width'.
Container(width: 14.0),
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/paginated_data_table.dart:436:17:
Error: No named parameter with the name 'height'.
height: 56.0,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/popup_menu.dart:267:9:
Error: No named parameter with the name 'height'.
height: widget.height,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/popup_menu.dart:441:11:
Error: No named parameter with the name 'color'.
color: Theme.of(context).highlightColor,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/progress_indicator.dart:224:7:
Error: No named parameter with the name 'constraints'.
constraints: const BoxConstraints.tightFor(
^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/progress_indicator.dart:401:7:
Error: No named parameter with the name 'constraints'.
constraints: const BoxConstraints(
^^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/progress_indicator.dart:551:7:
Error: No named parameter with the name 'width'.
width: _indicatorSize,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:425:15:
Error: No named parameter with the name 'padding'.
padding: _isIndicatorAtTop
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/reorderable_list.dart:430:11:
Error: No named parameter with the name 'alignment'.
alignment: Alignment.topLeft,
^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/scaffold.dart:1573:11:
Error: No named parameter with the name 'decoration'.
decoration: BoxDecoration(
^^^^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/slider.dart:931:7:
Error: Can't use 'constraints' because it is declared more than once.
constraints.hasBoundedWidth ? constraints.maxWidth :
_preferredTotalWidth,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/slider.dart:931:37:
Error: Can't use 'constraints' because it is declared more than once.
constraints.hasBoundedWidth ? constraints.maxWidth :
_preferredTotalWidth,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/slider.dart:932:7:
Error: Can't use 'constraints' because it is declared more than once.
constraints.hasBoundedHeight ? constraints.maxHeight :
_overlayDiameter,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/slider.dart:932:38:
Error: Can't use 'constraints' because it is declared more than once.
constraints.hasBoundedHeight ? constraints.maxHeight :
_overlayDiameter,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/snack_bar.dart:205:11:
Error: No named parameter with the name 'padding'.
padding: const EdgeInsets.symmetric(vertical:
_kSingleLineVerticalPadding),
^^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/snack_bar.dart:289:12:
Error: Can't use 'key' because it is declared more than once.
key: key ?? fallbackKey,
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:224:7:
Error: No named parameter with the name 'width'.
width: visible ? 1.0 : 0.0,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:270:7:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsets.symmetric(vertical: 8.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:289:7:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsets.symmetric(vertical: 8.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:360:15:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsetsDirectional.only(start: 8.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:347:7:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsets.only(top: 16.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:431:11:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsets.only(top: 2.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:463:13:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsetsDirectional.only(start: 12.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:450:7:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsets.symmetric(horizontal: 24.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:484:19:
Error: No named parameter with the name 'color'.
color: Colors.grey.shade400,
^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:491:33:
Error: No named parameter with the name 'height'.
firstChild: Container(height: 0.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:493:13:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsetsDirectional.only(
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:563:17:
Error: No named parameter with the name 'height'.
height: 72.0,
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that takes no arguments.
class Container extends StatelessWidget {
^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/material/stepper.dart:569:17:
Error: No named parameter with the name 'margin'.
margin: const EdgeInsetsDirectional.only(start: 12.0),
^^^^^^
file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:233:7:
Error: The class 'Container' has a constructor that t

file:///C:/Users/Nick/flutter/packages/flutter/lib/src/widgets/container.dart:243:24:
Error: Expected an identifier, but got '{'.
  ContainerTextt text, {

looks like a File in your Flutter installation got corrupted.
Try
git clean -xfd
git pull
flutter doctor

in C:/Users/Nick/flutter

Are you still seeing above error?

i uninstall flutter and android studio.. and then install both again....
now it work fine.
THANKS FOR HELP.
On Sat, Nov 3, 2018 at 9:36 PM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

Are you still seeing above error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/23869#issuecomment-435599204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqiQ6artmXPpRFqK7CEeFWLrvYq6GQd_ks5urb8CgaJpZM4YLk1e
.


Defining Typed Collection that starts Empty

Larastan Version: 2.0.1
--level used: 6

Description
Basically I am typehinting a Support Collection as containing <int, DummyType>
However in the constructor I want to initialise this to an empty collection, and then add DummyType elements to it late on. Is there a way to probably typehint this to Larastan / PHPStan doesn't throw errors.
Currently I am getting:
Property App\Services\DummyType Service::$generatedData (Illuminate\Support\Collection<int, App\Services\DummyType>) does not accept Illuminate\Support\Collection<*NEVER*, *NEVER*>.
Or (when initialising collection via collect helper):
Unable to resolve the template type TKey in call to function collect
Unable to resolve the template type TValue in call to function collect
Not sure if I am trying to do something wrong here, or there is another way to achieve what I am after
Laravel code where the issue was found
    /**
     * The retrieved query data
     *
     * @var \Illuminate\Support\Collection<int, object>
     */
    private Collection $queryData;

    /**
     * The generated combined data
     *
     * @var \Illuminate\Support\Collection<int, DummyType>
     */
    private Collection $generatedData;

    /**
     * Constructor.
     */
    public function __construct()
    {

        $this->generatedData = new Collection();

        // or

        $this->generatedData = collect();
    }

Hi,
As of Larastan 2 and Laravel 9, all collection types are moved to Laravel core. So please open an issue there.

Sorry am I missing something. In my phpstan.neon folder aren't I referencing the extension.neon file which contains a stub for Collection

Yes, but if you look at that file you'd see the stub file is empty.
Type for the constructor is coming from here, not from stub file.

 Unless thats not what you mean
https://github.com/nunomaduro/larastan/blob/master/stubs/Collection.stub

Yes it contains definition. But that is not related to your issue. Your issue is with the type here. Which is defined in Laravel, not Larastan stub.


area field in department, region and city has a string type instead of float type

Query without cast has no result.
SELECT
        SUM(city.area::float) AS total
FROM
    city

Note : The areafield of epci is correct (float)

This has been validated using:
SELECT
  table_name,
  column_name,
  data_type
FROM
  information_schema.columns
WHERE
  table_name IN ('city', 'department', 'epci', 'region')
  AND column_name = 'area'

Which gives:

table_name
column_name
data_type

epci
area
double precision

city
area
text

department
area
text

region
area
text


BC DevExchange Application - Automated Functional Tests and Bug Fixes

Value: $15,000.00Closes: Monday, March 12, 2018Location: Victoria In-person work NOT requiredOpportunity DescriptionThe BC Developers' Exchange application allows government actors to post opportunities that may be bid on by developers throughout British Columbia and beyond.
We would like to make several focused improvements to the application to improve the application's DevOps pipeline and testing suites. Additionally, we would like to fix several bugs that have arisen in the course of development.
To complete this work, we have identified three distinct milestones:
Milestone 1: Bug FixesFix several high-priority bugs from the team's backlog.
Milestone 2: Update DevOps "Staging" EnvironmentUsing OpenShift and Jenkins, create a "Staging" environment for our master branch. The required database will be the existing production database filtered for all personal and otherwise sensitive information.
Milestone 3: New Functional and Regression Testing SuitesExtend automated test suites for functional and regression testing of the following application workflows for both Code With Us (CWU) and Sprint With Us (SWU):

CWU - Creating RFP
CWU - Creating RFP response
CWU - Notifying BC Developers' Exchange community
CWU - Assigning CWU RFP
SWU - Satisfying the requirements of the RFQ
SWU - Submitting company profile
SWU - Submitting individual profile
SWU - Creating RFP (government actor)
SWU - Creating RFP response
SWU - Creating evaluation view
SWU - Scoring questions/interview/pricing/skills

We recommend you review the following information regarding our existing tests:

https://github.com/BCDevExchange/devex/tree/develop/functional-tests
https://github.com/BCDevOps/BDDStack

 The fixed-price reward is for a total of $15,000* for fulfilling the Acceptance Criteria below, per this payment schedule:

Completion of milestone 1 - $3,000
Completion of milestone 2 - $2,000
Completion of milestone 3 - $10,000

*The full amount is dependent on an evaluation of outputs at the end of milesone 1 and the end of milestone 2. After each milestone, the Province will determine whether or not work will continue. Acceptance Criteria

Work with our Agile/Scrum team (1012 Douglas Street in Victoria, BC):

The BC Developers' Exchange team works in 2-week sprints. You will attend planning (2 hours) and review (3 hours) meetings for each sprint.  Developers from outside the Victoria area may attend by teleconference.
You will track your work with the team on our BC Developers' Exchange scrum board

Milestone 1

Meet with the Scrum Master and Lead Developer to review the team's prioritized bug list
By mutual agreement, determine the bugs to be fixed within a 3-day period
Implement bug fixes
Submit pull requests for review/acceptance

Milestone 2

Build the team's "Staging" environment for the team's DevOps pipeline
Create the environment's database by purgining the existing production database of all personal and otherwise sensitive information
Submit pull requests for review/acceptance

Milestone 3

Meet with the Product Manager, Scrum Master and Lead Developer to review existing testing suites
In concert with Scrum Master and Lead Developer, determine required functional and regression test suites
Design and implement functional and regression test suites (automated, where possible)

 How to ApplyGo to the Opportunity Page, click the Apply button above and submit your proposal by 16:00 PST on Monday, March 12, 2018.We plan to assign this opportunity by Tuesday, March 13, 2018 with work to start on Wednesday, March 14, 2018.Proposal Evaluation Criteria

Your approach to completing the Acceptance Criteria (30 points).
Your prior experience writing automated tests and JavaScript-based applications (30 points).
Your expertise in our technology stack (see Required skills) and experience contributing code to public code repositories (20 points).
To qualify for assignment your proposal must meet a minimum pass rate of 80% (Mandatory).
To qualify for assignment, you must be able to satisfy the Acceptance Criteria for all three milestones on or before March 31, 2018 (Mandatory)

Hello everyone - we are excited to post our latest opportunity.  If you have any questions, please let me know.

Question from bidder:  "Milestone 1 mentions fixing bugs. Is that fixing automation bugs, or code bugs?"
Answer:  Milestone means fixing code bugs, not automation bugs.  Specifically, it means fixing existing bugs with the Code With Us and Sprint With Us code bases.

Hello everyone - we decided to republish this opportunity.  We have removed the original milestones 1 and 2 (testing and DevOps modifications).  The opportunity is now limited to the original milestone #3 - Functional and regression testing suites.
We look forward to your applications, and please let me know if you have any questions.

Question from bidder: "Is there a specific proposal template we need to use?"
Answer:  No, there is no specific template that must be used.  However, we recommend that you keep the acceptance criteria in mind when you prepare your proposals.

This opportunity has been assigned

Hi Everyone,
Thanks you for your proposals. We have scored them by our evaluation criteria and Robert Johnstone scored the highest.
Unsuccessful applicants, you can contact me directly (email address in my profile) if you'd like feedback.

Contract complete, closing this issue.


Compatibility Issue with Home Assistant Version

Hi,
I encountered an issue when clicking the link in the repository. I was redirected to my Home Assistant instance, where I received a message stating that the version I am using may not be compatible and that I should check if I am using the latest version.
Could you please confirm whether the version available in this repository is compatible with the latest Home Assistant release? Or should I look for a different version?
Thanks for your help!

I can confirm that it works with the latest stable version. Just add this as custom repository to HACS.

Sorry for the late reply - I missed the notification about your question.
I don't know what the message was about, but I'm using right now the latest version, 2024.10.4, and everything is working fine.


GetVirtualPath, get FilterDescriptors

Hello
Please help me with one case
if I have some route, and RouteValueDictionary, how I can get FilterDescriptors for that route?
In other word, for menu item parametrized with controller name and action name, I should determine security restriction and hide it if it fail

I'd start by injecting the IApplicationDescriptorCollectionProvider via DI. That will give you access to the ActionDescriptors, which have the route values required for selection (action/controller) and the filters.

As I understand that is trick to get route data for current request. But I need generate action context data for violent request, by route data as in parameter

@valentin78 - can you explain a bit more about what you are trying to do? Routes don't specify filters. The filters are only known once the action has been selected (because filters are action-specific).

Closing due to lack of activity


adding responsiveness in home page

Hello @aslams2020  , the issue #95 is done by me as you assigned me this issue, i have resolve the merge conflicts as well, thanks for your corporation.pls assign level tag.
https://github.com/user-attachments/assets/cbc25565-b4b2-4810-9ed1-877f925234c3

Hi, @Abhishek2634
I got My account back today. On next leaderboard update you'll be able to see your points.
Sorry for the inconvenience. Keep contributing.🚀


Use redocly split --separator '/' to use subdirectories as separators

Is your feature request related to a problem? Please describe.
Given a path /thing/{id}, the split command currently fails if you try to use / as a separator:
⟫ npx redocly split --separator '/' --outDir split api.yaml

Error: ENOENT: no such file or directory, open 'split/paths/thing/{id}.yaml'
    at Object.openSync (node:fs:599:3)
    at Object.writeFileSync (node:fs:2221:35)
    at Object.writeYaml (node_modules/@redocly/cli/lib/utils.js:159:8)

Describe the solution you'd like
To make a nested directory structure for the path items that actually matches the directory structure implied by the path...
So instead of the separator character being a part of the filename (which of course is not allowed on Unix-like OS's), a / separator would be treated as part of the path — the same way a / inside a path is usually treated on a Unix-like OS — and be used to separate folders/subfolders/filenames in the path.
So for path /things/{id} it would output to paths/things/{id}.yaml, and so on.
Probably wouldn't take much to implement. Just add an extra mkdir -p when the path contains / (to avoid the ENOENT error above) and then treat it as a path as-is like it's already doing....
export function saveBundle(filename: string, output: string) {
  fs.mkdirSync(path.dirname(filename), { recursive: true });
  fs.writeFileSync(filename, output);
}

Seems like a good idea.
A path item can contain refs to components (such as schemas and parameters). The path to those schemas and parameter files would be different depending on the path depth (paths/things would be different from paths/things/{id}). This is doable, but something we need to account for and test too.
In some cases it's easy to have all paths at the same depth due to copy-pasta compatibility of $refs across paths. With this change, copy-pasta needs to adjust based on path depth. However, it may result in a nicer organization of the paths files themselves.

Fixed in #997


DSA 2.1 Implementation of Strings in Python - Audio

Description
How are strings implemented in Python? Discuss with examples.
Important: Do not use assign command for this issue.
Task

[ ] Audio

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be same as the issue.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

Please assign this issue to me.
Raj Madhu
DSA Batch - 6

Please assign this issue to me. Raj Madhu DSA Batch - 6

Assigning this issue to you, all the best!

Please assign this issue to me. Raj Madhu DSA Batch - 6

@rajmadhu0406 any update?

@rajmadhu0406 final call. Submit PR within 2 days else the issue will be closed.

@nimisha-yadav mam assign this to me
Name - Jai Gora
Batch - 7


Fixed build failure due to missing GB translation files

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Testing Notes

@ryanguest this is the fix. As you can see, these files are just placeholders and not translated yet. We can have them translated in next round.


Remove from hoomd import * in unit tests

For consistency, we should change and check the hoomd import statements in the *.py files, e.g. from hoomd import * to  import hoomd and associated necessary changes. This is not urgent by any means.

Yes, this is a good idea. The first pass solution would be to convert all the commands, prepending hoomd as needed.
I also would like to simplify the unit tests #34, which could make this easier. We can decide what order to do that in.


2196 UI changelog improvements

Improves the style of the 0.11 UI changelog, describing new features rather than simply showing their issue numbers.

Fixes #2196

@philipnrmn thanks, excellent job!

Awesome!