Skip to content

RenderToggleable class not available in latest dev and master, but is available on stable. #78440

Closed

Description

@jesusspr

RenderToggleable class is not available in dev channel 2.1.0-12.1.pre version

Activity

  1. changed the title [-]RenderToggleable class not available in dev channel 2.1.0-12.1.pre version[/-] [+]RenderToggleable class not available in latest dev and master, but is available on stable.[/+] on Mar 18, 2021
  2. darshankawar commented on Mar 18, 2021

    @darshankawar
    Member

    Seems to be available on latest Stable (2.0.2), but not on master as well.

    1. Master:

    Screenshot 2021-03-18 at 1 33 33 PM

    1. Stable:

    Screenshot 2021-03-18 at 1 35 13 PM

    flutter doctor -v
    [✓] Flutter (Channel stable, 2.0.2, on Mac OS X 10.15.4 19E2269 darwin-x64,
        locale en-GB)
        • Flutter version 2.0.2 at /Users/dhs/documents/Fluttersdk/flutter
        • Framework revision 8962f6dc68 (6 days ago), 2021-03-11 13:22:20 -0800
        • Engine revision 5d8bf811b3
        • Dart version 2.12.1
    
    [!] Xcode - develop for iOS and macOS
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 12.3, Build version 12C33
        ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
            CocoaPods is used to retrieve the iOS and macOS platform side's plugin
            code that responds to your plugin usage on the Dart side.
            Without CocoaPods, plugins will not work on iOS or macOS.
            For more info, see https://flutter.dev/platform-plugins
          To upgrade see
          https://guides.cocoapods.org/using/getting-started.html#installation for
          instructions.
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] VS Code (version 1.54.1)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.18.1
    
    [✓] Connected device (3 available)
        • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
          • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
        • macOS (desktop)            • macos                                •
          darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
        • Chrome (web)               • chrome                               •
          web-javascript • Google Chrome 89.0.4389.90
    
    ! Doctor found issues in 1 category.
    
    
  3. added
    p: material_uimaterial_ui package in flutter/packages
    frameworkflutter/packages/flutter repository. See also f: labels.
    and removed
    p: material_uimaterial_ui package in flutter/packages
    in triagePresently being triaged by the triage team
    on Mar 18, 2021
  4. nt4f04uNd commented on Mar 18, 2021

    @nt4f04uNd
    Member

    see #76745 for context

  5. omidraha commented on Jun 4, 2021

    @omidraha

    I have the same issue,
    After upgrading, The RenderToggleable is not resolvable now.
    It used in circular_check_box here.,

    Info:

    $ flutter doctor --verbose
    [✓] Flutter (Channel stable, 2.2.1, on Linux, locale en_US.UTF-8)
        • Flutter version 2.2.1 at ***/sdk/flutter
        • Framework revision 02c026b03c (8 days ago), 2021-05-27 12:24:44 -0700
        • Engine revision 0fdb562ac8
        • Dart version 2.13.1
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
        • Android SDK at ***/sdk/android/
        • Platform android-30, build-tools 30.0.3
        • ANDROID_HOME = ***/sdk/android/
        • Java binary at: ***/ide/android-studio/jre/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
        • All Android licenses accepted.
    
    [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
        ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
    
    [✓] Linux toolchain - develop for Linux desktop
        • clang version 10.0.0-4ubuntu1
        • cmake version 3.16.3
        • ninja version 1.10.0
        • pkg-config version 0.29.1
    
    [✓] Android Studio (version 4.2)
        • Android Studio at ***/ide/android-studio
        • Flutter plugin version 57.0.2
        • Dart plugin version 202.8488
        • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    
    [✓] Android Studio
        • Android Studio at ***/ide/android-studio/
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • android-studio-dir = ***/ide/android-studio/
        • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    
    [✓] Connected device (1 available)
        • Linux (desktop) • linux • linux-x64 • Linux
    
    ! Doctor found issues in 1 category.
    
  6. SahSantoshh commented on Jun 19, 2021

    @SahSantoshh

    I am also dealing with same issue. After upgrading to flutter 2.2.2 , the RenderToggleable is not available in stable channel which is used in circular_check_box here.

    This lead to crash my working app.

    Error:

    Launching lib/main.dart on MAR LX2 in debug mode...
    ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:328:39: Error: Type 'RenderToggleable' not found.
    class _RenderCircularCheckBox extends RenderToggleable {
                                          ^^^^^^^^^^^^^^^^
    ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:292: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' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart').

    Also tried to extend in class but 😞

    Screen Shot 2021-06-19 at 11 10 46 PM

    Flutter Info

    $ flutter doctor --verbose
    [✓] Flutter (Channel stable, 2.2.2, on macOS 11.2.3 20D91 darwin-x64, locale en-NP)
        • Flutter version 2.2.2 at /Users/sahsantoshh/development/flutter
        • Framework revision d79295af24 (8 days ago), 2021-06-11 08:56:01 -0700
        • Engine revision 91c9fc8fe0
        • Dart version 2.13.3
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
        • Android SDK at /Users/sahsantoshh/Library/Android/sdk
        • Platform android-30, build-tools 30.0.2
        • ANDROID_HOME = /Users/sahsantoshh/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 12.3, Build version 12C33
        • CocoaPods version 1.10.1
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 4.2)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    
    [✓] VS Code (version 1.57.1)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.23.0
  7. JokerGHit commented on Jun 28, 2021

    @JokerGHit

    Seems to be available on latest Stable (2.0.2), but not on master as well.

    1. Master:
    Screenshot 2021-03-18 at 1 33 33 PM
    1. Stable:
    Screenshot 2021-03-18 at 1 35 13 PM

    flutter doctor -v

    Is there a replacement class

  8. JokerGHit commented on Jun 28, 2021

    @JokerGHit

    I am also dealing with same issue. After upgrading to flutter 2.2.2 , the RenderToggleable is not available in stable channel which is used in circular_check_box here.

    This lead to crash my working app.

    Error:

    Launching lib/main.dart on MAR LX2 in debug mode...
    ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:328:39: Error: Type 'RenderToggleable' not found.
    class _RenderCircularCheckBox extends RenderToggleable {
                                          ^^^^^^^^^^^^^^^^
    ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:292: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' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart').

    Also tried to extend in class but 😞

    Screen Shot 2021-06-19 at 11 10 46 PM

    Flutter Info

    $ flutter doctor --verbose
    [✓] Flutter (Channel stable, 2.2.2, on macOS 11.2.3 20D91 darwin-x64, locale en-NP)
        • Flutter version 2.2.2 at /Users/sahsantoshh/development/flutter
        • Framework revision d79295af24 (8 days ago), 2021-06-11 08:56:01 -0700
        • Engine revision 91c9fc8fe0
        • Dart version 2.13.3
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
        • Android SDK at /Users/sahsantoshh/Library/Android/sdk
        • Platform android-30, build-tools 30.0.2
        • ANDROID_HOME = /Users/sahsantoshh/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 12.3, Build version 12C33
        • CocoaPods version 1.10.1
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 4.2)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    
    [✓] VS Code (version 1.57.1)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.23.0

    Handsome guy,Is there a replacement class

  9. SahSantoshh commented on Jun 28, 2021

    @SahSantoshh

    I am also dealing with same issue. After upgrading to flutter 2.2.2 , the RenderToggleable is not available in stable channel which is used in circular_check_box here.
    This lead to crash my working app.
    Error:

    Launching lib/main.dart on MAR LX2 in debug mode...
    ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:328:39: Error: Type 'RenderToggleable' not found.
    class _RenderCircularCheckBox extends RenderToggleable {
                                          ^^^^^^^^^^^^^^^^
    ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart:292: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' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/circular_check_box-1.0.4/lib/circular_check_box.dart').

    Also tried to extend in class but 😞
    Screen Shot 2021-06-19 at 11 10 46 PM
    Flutter Info

    $ flutter doctor --verbose
    [✓] Flutter (Channel stable, 2.2.2, on macOS 11.2.3 20D91 darwin-x64, locale en-NP)
        • Flutter version 2.2.2 at /Users/sahsantoshh/development/flutter
        • Framework revision d79295af24 (8 days ago), 2021-06-11 08:56:01 -0700
        • Engine revision 91c9fc8fe0
        • Dart version 2.13.3
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
        • Android SDK at /Users/sahsantoshh/Library/Android/sdk
        • Platform android-30, build-tools 30.0.2
        • ANDROID_HOME = /Users/sahsantoshh/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 12.3, Build version 12C33
        • CocoaPods version 1.10.1
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 4.2)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    
    [✓] VS Code (version 1.57.1)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.23.0

    Handsome guy,Is there a replacement class

    @JokerGHit I reverted back to 2.0.5 now, it's working fine.

  10. JokerGHit commented on Jun 29, 2021

    @JokerGHit

    Seems to be available on latest Stable (2.0.2), but not on master as well.

    1. Master:
    Screenshot 2021-03-18 at 1 33 33 PM
    1. Stable:
    Screenshot 2021-03-18 at 1 35 13 PM

    flutter doctor -v

    Our team wants to use the latest 2.2.2 stable version, is there any other solution?

  11. SahSantoshh commented on Jun 29, 2021

    @SahSantoshh

    @JokerGHit I don't think we have any other solution until the flutter team fixes this issue or you can create PR to fix the issue but we can see the issue linked with it is already merged.

  12. jlorneMindmarker commented on Jul 9, 2021

    @jlorneMindmarker

    Is there any updates on this being solved?

  13. NiranjanShah commented on Jul 13, 2021

    @NiranjanShah

    isn't it a major issue for custom widgets ?, can some action / suggestion be announced please

  14. JokerGHit commented on Jul 23, 2021

    @JokerGHit

    @SahSantoshh Hi guy, I found an alternative library, I don’t know if it can solve your problem, we are currently using this solution.
    See details:
    https://pub.dev/packages/circle_checkbox
    hope to help you

  15. darshankawar commented on Jul 26, 2021

    @darshankawar
    Member

    @bradolh
    Please look at the related PR description, #76745 (comment) which suggests to use ToggleableStateMixin instead of RenderToggleable. The latter seems to have been removed as I don't see the class on latest dev, master and stable anymore.

  16. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 26, 2021
  17. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Aug 17, 2021
  18. TahaTesser commented on Aug 17, 2021

    @TahaTesser
    Contributor

    Without additional information, we are unfortunately not sure how to resolve this issue.
    We are therefore reluctantly going to close this bug for now.
    Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

    Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
    All system setups can be slightly different, so it's always better to open new issues and reference related issues.

  19. added
    r: timeoutIssue is closed due to author not providing the requested details in time
    on Aug 17, 2021
  20. github-actions commented on Aug 31, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  21. locked as resolved and limited conversation to collaborators on Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frameworkflutter/packages/flutter repository. See also f: labels.r: timeoutIssue is closed due to author not providing the requested details in time

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions