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

BrnSelectionView组件 date类型展开报错 #512

Open
dnoaius opened this issue Nov 2, 2023 · 3 comments
Open

BrnSelectionView组件 date类型展开报错 #512

dnoaius opened this issue Nov 2, 2023 · 3 comments

Comments

@dnoaius
Copy link

dnoaius commented Nov 2, 2023

问题提交

标题格式:[BUG]: BrnSelectionView 组件,type 设置为date时展开报错

内容需包含:

1、BUG 描述

使用官方文档的数据的josn数据和代码
1698894819318
![1698894707456](https://github.com/LianjiaTech/bruno/a
9bcede2451ae8b999562f3197daff0e
ssets/120095769/aeb42efd-65d9-4248-aae8-4b43235f242e)
2、复现步骤

3、期望行为

4、运行环境

  • 运行设备
  • 系统 Android
  • Bruno 版本 3.4.2
  • Flutter Doctor 信息
    [√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [版本 10.0.19045.3570], locale zh-CN)
    [√] Windows Version (Installed version of Windows is version 10 or higher)
    [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    [√] Chrome - develop for the web
    [!] Visual Studio - develop for Windows (Visual Studio 15 生成工具 2017 15.9.55)
    X Visual Studio 2019 or later is required.
    Download at https://visualstudio.microsoft.com/downloads/.
    Please install the "Desktop development with C++" workload, including all of its default components
    [√] Android Studio (version 2022.2)
    [√] Connected device (4 available)

5、附加信息

包括视频、图片等补充信息

@dnoaius
Copy link
Author

dnoaius commented Nov 2, 2023

报错信息:
E/flutter (15667): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: dependOnInheritedWidgetOfExactType<_ViewScope>() or dependOnInheritedElement() was called before _BrnRangeSelectionGroupWidgetState.initState() completed.
E/flutter (15667): When an inherited widget changes, for example if the value of Theme.of() changes, its dependent widgets are rebuilt. If the dependent widget's reference to the inherited widget is in a constructor or an initState() method, then the rebuilt dependent widget will not reflect the changes in the inherited widget.
E/flutter (15667): Typically references to inherited widgets should occur in widget build() methods. Alternatively, initialization based on inherited widgets can be placed in the didChangeDependencies method, which is called after initState and whenever the dependencies change thereafter.

@supermebing
Copy link

一样的问题

@wbsss
Copy link

wbsss commented Jun 5, 2024

我也是,希望能解决

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

3 participants