Skip to content

Commit a02cd54

Browse files
Revert "[framework] SliverDecoration" (#107561)
1 parent 95a5a8d commit a02cd54

File tree

5 files changed

+0
-442
lines changed

5 files changed

+0
-442
lines changed

packages/flutter/lib/src/painting/box_decoration.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ import 'image_provider.dart';
6868
///
6969
/// * [DecoratedBox] and [Container], widgets that can be configured with
7070
/// [BoxDecoration] objects.
71-
/// * [SliverDecoration],a widget that can be configured with [BoxDecoration]
72-
/// objects that is specialized for rendering with slivers.
7371
/// * [CustomPaint], a widget that lets you draw arbitrary graphics.
7472
/// * [Decoration], the base class which lets you define other decorations.
7573
class BoxDecoration extends Decoration {

packages/flutter/lib/src/widgets/container.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ import 'image.dart';
5252
/// * [Decoration], which you can extend to provide other effects with
5353
/// [DecoratedBox].
5454
/// * [CustomPaint], another way to draw custom effects from the widget layer.
55-
/// * [SliverDecoration], which paints a [Decoration] around a sliver.
5655
class DecoratedBox extends SingleChildRenderObjectWidget {
5756
/// Creates a widget that paints a [Decoration].
5857
///

packages/flutter/lib/src/widgets/sliver_decoration.dart

Lines changed: 0 additions & 208 deletions
This file was deleted.

packages/flutter/lib/widgets.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ export 'src/widgets/shortcuts.dart';
119119
export 'src/widgets/single_child_scroll_view.dart';
120120
export 'src/widgets/size_changed_layout_notifier.dart';
121121
export 'src/widgets/sliver.dart';
122-
export 'src/widgets/sliver_decoration.dart';
123122
export 'src/widgets/sliver_fill.dart';
124123
export 'src/widgets/sliver_layout_builder.dart';
125124
export 'src/widgets/sliver_persistent_header.dart';

0 commit comments

Comments
 (0)