Skip to content

Commit 06979d4

Browse files
authored
shrinkWrap nuke (#116236)
1 parent b30eb6c commit 06979d4

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

examples/api/lib/material/app_bar/app_bar.1.dart

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class _AppBarExampleState extends State<AppBarExample> {
4949
shadowColor: shadowColor ? Theme.of(context).colorScheme.shadow : null,
5050
),
5151
body: GridView.builder(
52-
shrinkWrap: true,
5352
itemCount: _items.length,
5453
padding: const EdgeInsets.all(8.0),
5554
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(

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

-2
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,6 @@ abstract class BoxScrollView extends ScrollView {
946946
///
947947
/// ```dart
948948
/// ListView(
949-
/// shrinkWrap: true,
950949
/// padding: const EdgeInsets.all(20.0),
951950
/// children: const <Widget>[
952951
/// Text("I'm dedicating every day to you"),
@@ -961,7 +960,6 @@ abstract class BoxScrollView extends ScrollView {
961960
///
962961
/// ```dart
963962
/// CustomScrollView(
964-
/// shrinkWrap: true,
965963
/// slivers: <Widget>[
966964
/// SliverPadding(
967965
/// padding: const EdgeInsets.all(20.0),

0 commit comments

Comments
 (0)