Skip to content

Commit

Permalink
Reverts "TreeSliver & associated classes (#147171)" (#149754)
Browse files Browse the repository at this point in the history
Reverts: flutter/flutter#147171
Initiated by: QuncCccccc
Reason for reverting: tree is red due to a test in this PR
Original PR Author: Piinks

Reviewed By: {QuncCccccc, TahaTesser, bleroux}

This change reverts the following previous change:
**FYI for Reviewers:** Much of the API surface matches that of the 2D TreeView in flutter#6592. If it changes here, it should change there, and vice versa.

📜  [Design Document](https://docs.google.com/document/d/1-aFI7VjkF9yMkWpP94J8T_JREDS-M3bOak26PVehUYg/edit?usp=sharing)

This adds classes and associated callbacks and controllers for TreeSliver. Core components:
- TreeSliver
- RenderTreeSliver
- TreeSliverNode
- TreeSliverController
- TreeSliverStateMixin
- TreeSliverIndentationType

Fixes flutter/flutter#114299

https://github.com/flutter/flutter/assets/16964204/3facd095-7262-4068-aa33-d713e2deca99

https://github.com/flutter/flutter/assets/16964204/f851ae30-8e71-45c7-82a4-9606986a5872
  • Loading branch information
auto-submit[bot] authored Jun 5, 2024
1 parent 39472d9 commit 27e0656
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 3,326 deletions.
104 changes: 0 additions & 104 deletions examples/api/lib/widgets/sliver/sliver_tree.0.dart

This file was deleted.

189 changes: 0 additions & 189 deletions examples/api/lib/widgets/sliver/sliver_tree.1.dart

This file was deleted.

21 changes: 0 additions & 21 deletions examples/api/test/widgets/sliver/sliver_tree.0_test.dart

This file was deleted.

21 changes: 0 additions & 21 deletions examples/api/test/widgets/sliver/sliver_tree.1_test.dart

This file was deleted.

1 change: 0 additions & 1 deletion packages/flutter/lib/rendering.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export 'src/rendering/sliver_list.dart';
export 'src/rendering/sliver_multi_box_adaptor.dart';
export 'src/rendering/sliver_padding.dart';
export 'src/rendering/sliver_persistent_header.dart';
export 'src/rendering/sliver_tree.dart';
export 'src/rendering/stack.dart';
export 'src/rendering/table.dart';
export 'src/rendering/table_border.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'package:vector_math/vector_math_64.dart';
import 'box.dart';
import 'object.dart';
import 'sliver.dart';
import 'sliver_fixed_extent_list.dart';

/// A delegate used by [RenderSliverMultiBoxAdaptor] to manage its children.
///
Expand Down
Loading

0 comments on commit 27e0656

Please sign in to comment.