Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain Ios build steps better #36

Closed
HariboApfel opened this issue May 15, 2021 · 6 comments
Closed

Explain Ios build steps better #36

HariboApfel opened this issue May 15, 2021 · 6 comments
Assignees

Comments

@HariboApfel
Copy link

  1. Remove 'firebase_*' and 'flutter_downloader' packages
    2. Remove validator on lib/server/violet.dart
  2. Run 'flutter run --release' command
    or Run ios/Runner.xcworkspace and build release

Can you provide some more info on this point? Cant seem to find anything regarding a validator in the violet.dart file.

BR

@HariboApfel
Copy link
Author

Never mind, you had to replace getValid(vToken.toString()) with vToken.toString().

I was able to build successfully after that but got an error while launching.

2021-05-15 23:29:41.015969+0200 Runner[17394:708496] Metal API Validation Enabled
2021-05-15 23:29:41.410700+0200 Runner[17394:709311] 7.11.0 - [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2021-05-15 23:29:41.423880+0200 Runner[17394:708496] database path: /Users/alexander/Library/Developer/CoreSimulator/Devices/E31C401B-E6BF-4C73-8334-D725B8317674/data/Containers/Bundle/Application/DCB73059-7317-45FC-ACB3-A190C33099CE/Runner.app/Frameworks/flutter_downloader.framework/FlutterDownloaderDatabase.bundle/download_tasks.sql
2021-05-15 23:29:41.424315+0200 Runner[17394:708496] MAXIMUM_CONCURRENT_TASKS = 3
2021-05-15 23:29:41.434073+0200 Runner[17394:708496] init NSURLSession with id: xyz.project.violet.download.background.1621114181.424526
2021-05-15 23:29:41.434333+0200 Runner[17394:708496] AllFilesDownloadedMessage: All files have been downloaded
2021-05-15 23:29:41.465315+0200 Runner[17394:709344] flutter: Observatory listening on http://127.0.0.1:52069/XVe0SJmoFsY=/
2021-05-15 23:29:41.885365+0200 Runner[17394:708496] startBackgroundIsolate
2021-05-15 23:29:41.887962+0200 Runner[17394:708496] *** Assertion failure in -[FlutterDownloaderPlugin startBackgroundIsolate:], FlutterDownloaderPlugin.m:127
2021-05-15 23:29:41.897364+0200 Runner[17394:708496] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'failed to set registerPlugins'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff20422fba __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007fff20193ff5 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff20422de3 +[NSException raise:format:] + 0
	3   Foundation                          0x00007fff207748e7 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
	4   flutter_downloader                  0x0000000105da62e0 -[FlutterDownloaderPlugin startBackgroundIsolate:] + 528
	5   flutter_downloader                  0x0000000105dabfb9 -[FlutterDownloaderPlugin initializeMethodCall:result:] + 297
	6   flutter_downloader                  0x0000000105dafcbf -[FlutterDownloaderPlugin handleMethodCall:result:] + 191
	7   Flutter                             0x0000000106875fca __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104
	8   Flutter                             0x000000010602e1fa _ZNK7flutter21PlatformMessageRouter21HandlePlatformMessageEN3fml6RefPtrINS_15PlatformMessageEEE + 166
	9   Flutter                             0x000000010603340a _ZN7flutter15PlatformViewIOS21HandlePlatformMessageEN3fml6RefPtrINS_15PlatformMessageEEE + 38
	10  Flutter                             0x00000001063c0ab9 _ZNSt3__110__function6__funcIZN7flutter5Shell29OnEngineHandlePlatformMessageEN3fml6RefPtrINS2_15PlatformMessageEEEE4$_36NS_9allocatorIS8_EEFvvEEclEv + 83
	11  Flutter                             0x000000010634469a _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 160
	12  Flutter                             0x00000001063490e6 _ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0_ + 26
	13  CoreFoundation                      0x00007fff2039178a __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
	14  CoreFoundation                      0x00007fff2039127c __CFRunLoopDoTimer + 924
	15  CoreFoundation                      0x00007fff2039081a __CFRunLoopDoTimers + 265
	16  CoreFoundation                      0x00007fff2038ae69 __CFRunLoopRun + 2013
	17  CoreFoundation                      0x00007fff2038a1a7 CFRunLoopRunSpecific + 567
	18  GraphicsServices                    0x00007fff2b874d85 GSEventRunModal + 139
	19  UIKitCore                           0x00007fff246c14df -[UIApplication _run] + 912
	20  UIKitCore                           0x00007fff246c639c UIApplicationMain + 101
	21  Runner                              0x0000000105196bbb main + 75
	22  libdyld.dylib                       0x00007fff2025abbd start + 1
)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'failed to set registerPlugins'
terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 12 (E31C401B-E6BF-4C73-8334-D725B8317674) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 12
(Recorded stack frame) 

@violet-dev
Copy link
Member

Hi, sorry for the poor explanation.
The getValid function is an hmac function for server authentication.
The reason for using this function is to prevent requests from unauthorized request.

You can find server code here
https://github.com/project-violet/violet-server/blob/master/auth/auth.js#L11

@violet-dev
Copy link
Member

I also encountered an error related to registerPlugins while building ios, and I was unable to build a new one because this error could not be resolved.
This error occurred while upgrading to the flutter-2.0 version, but I don't know how to fix it either.
Sorry.

@violet-dev violet-dev self-assigned this May 16, 2021
@violet-dev
Copy link
Member

Check this 39d0f85

@HariboApfel
Copy link
Author

HariboApfel commented May 20, 2021

Hello,

still getting errors during build.

see below.

also you might have to add publish_to: none to pubspec.yml

/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:197:39: Error: Type 'RenderToggleable' not found.
class _RenderCircularCheckBox extends RenderToggleable {
                                      ^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:170:27: Error: The return type of the method '_CircularCheckBoxRenderObjectWidget.createRenderObject' is '_RenderCircularCheckBox', which does not match the return type, 'RenderObject', of the overridden method, 'RenderObjectWidget.createRenderObject'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
 - 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/packages/flutter/lib/src/rendering/object.dart').
Change to a subtype of 'RenderObject'.
  _RenderCircularCheckBox createRenderObject(BuildContext context) =>
                          ^
/usr/local/Caskroom/flutter/2.0.6/flutter/packages/flutter/lib/src/widgets/framework.dart:1665:16: Context: This is the overridden method ('createRenderObject').
  RenderObject createRenderObject(BuildContext context);
               ^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:183:53: Error: The parameter 'renderObject' of the method '_CircularCheckBoxRenderObjectWidget.updateRenderObject' has type '_RenderCircularCheckBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObjectWidget.updateRenderObject'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
 - 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/packages/flutter/lib/src/rendering/object.dart').
Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
      BuildContext context, _RenderCircularCheckBox renderObject) {
                                                    ^
/usr/local/Caskroom/flutter/2.0.6/flutter/packages/flutter/lib/src/widgets/framework.dart:1677:8: Context: This is the overridden method ('updateRenderObject').
  void updateRenderObject(BuildContext context, covariant RenderObject renderObject) { }
       ^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:186:9: Error: The setter 'tristate' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'tristate'.
      ..tristate = tristate
        ^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:187:9: Error: The setter 'activeColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'activeColor'.
      ..activeColor = activeColor
        ^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:188:9: Error: The setter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'inactiveColor'.
      ..inactiveColor = inactiveColor
        ^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:189:9: Error: The setter 'onChanged' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'onChanged'.
      ..onChanged = onChanged
        ^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:190:9: Error: The setter 'additionalConstraints' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'additionalConstraints'.
      ..additionalConstraints = additionalConstraints
        ^^^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:191:9: Error: The setter 'vsync' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'vsync'.
      ..vsync = vsync;
        ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:208:11: Error: No named parameter with the name 'value'.
          value: value,
          ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:223:11: Error: Superclass has no setter named 'value'.
    super.value = newValue;
          ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:221:21: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (newValue == value) return;
                    ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:222:17: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    _oldValue = value;
                ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:228:11: Error: Superclass has no method named 'describeSemanticsConfiguration'.
    super.describeSemanticsConfiguration(config);
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:229:24: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    config.isChecked = value == true;
                       ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:236:12: Error: The getter 'onChanged' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onChanged'.
    return onChanged == null
           ^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:237:11: Error: The getter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
        ? inactiveColor
          ^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:239:15: Error: The getter 'activeColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
            ? activeColor
              ^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:240:26: Error: The getter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
            : Color.lerp(inactiveColor, activeColor, t * 4.0));
                         ^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:240:41: Error: The getter 'activeColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'activeColor'.
            : Color.lerp(inactiveColor, activeColor, t * 4.0));
                                        ^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:289:5: Error: The method 'paintRadialReaction' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing method, or defining a method named 'paintRadialReaction'.
    paintRadialReaction(canvas, offset, size.center(Offset.zero));
    ^^^^^^^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:289:41: Error: The getter 'size' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    paintRadialReaction(canvas, offset, size.center(Offset.zero));
                                        ^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:292:19: Error: The getter 'size' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
        offset + (size / 2.0 - const Size.square(_kEdgeSize) / 2.0);
                  ^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:293:36: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
    final AnimationStatus status = position.status;
                                   ^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:296:15: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
            ? position.value
              ^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:297:21: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
            : 1.0 - position.value;
                    ^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:298:37: Error: The getter 'size' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'size'.
    final Offset center = (offset & size).center;
                                    ^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:301:31: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
    if (_oldValue == false || value == false) {
                              ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:302:24: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
      final double t = value == false ? 1.0 - tNormalized : tNormalized;
                       ^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:307:30: Error: The getter 'inactiveColor' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inactiveColor'.
        ..color = Color.lerp(inactiveColor, Colors.red, position.value)
                             ^^^^^^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:307:57: Error: The getter 'position' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'position'.
        ..color = Color.lerp(inactiveColor, Colors.red, position.value)
                                                        ^^^^^^^^
/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart:336:13: Error: The getter 'value' isn't defined for the class '_RenderCircularCheckBox'.
 - '_RenderCircularCheckBox' is from 'package:circular_check_box/circular_check_box.dart' ('/usr/local/Caskroom/flutter/2.0.6/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.1/lib/circular_check_box.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
        if (value == true)
            ^^^^^

@violet-dev
Copy link
Member

Downgrade flutter to v2.0.2 or v2.0.3
Currently circular_check_box not support flutter 2.0.4 or higher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants