flutter_tree_view icon indicating copy to clipboard operation
flutter_tree_view copied to clipboard

An error is reported when the outer layer is wrapped with a horizontal rolling component

Open XZ07s opened this issue 2 years ago • 0 comments

Failed assertion: line 1979 pos 12: 'hasSize'

PostControllerScope( controller: appController, child: FutureBuilder<void>( future: appController.hello(), builder: (_, __) { if (appController.isInitialized) { return ValueListenableBuilder<TreeViewTheme>( valueListenable: appController.treeViewTheme, builder: (_, treeViewTheme, __) { return Scrollbar( isAlwaysShown: true, controller: appController.scrollController, child: SingleChildScrollView( child: TreeView( controller: appController.treeController, theme: treeViewTheme, scrollController: appController.scrollController, nodeHeight: appController.nodeHeight, nodeBuilder: (_, __) => GestureDetector( child: ValueListenableBuilder<ExpansionButtonType>( valueListenable: appController.expansionButtonType, builder: (context, ExpansionButtonType buttonType, __) { return Row( children: const [ LinesWidget(), NodeWidgetLeadingIcon(useFoldersOnly: true), IconChip(), SizedBox(width: 8), Expanded(child: NodeTitle()), ] ); }, ), ), ), ), ); }, ); } return const Center(child: CircularProgressIndicator()); }, ), )

XZ07s avatar Nov 17 '22 06:11 XZ07s