Visitar URL original
Remove 'must be non-null' and 'must not be null' comments in widgets library by gspencergoog · Pull Request #134992 · flutter/flutter · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review Changes
  • Loading branch information
gspencergoog committed Sep 19, 2023
commit a5d5d05a4ebcf9e2ec2c8224fd723a33b0574f65
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/widgets/basic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class Opacity extends SingleChildRenderObjectWidget {
/// An opacity of one is fully opaque. An opacity of zero is fully transparent
/// (i.e., invisible).
///
/// Values one and zeri are painted with a fast path. Other values require
/// Values one and zero are painted with a fast path. Other values require
/// painting the child into an intermediate buffer, which is expensive.
final double opacity;

Expand Down
4 changes: 3 additions & 1 deletion packages/flutter/lib/src/widgets/list_wheel_scroll_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,9 @@ class ListWheelScrollView extends StatefulWidget {
/// {@macro flutter.rendering.RenderListWheelViewport.overAndUnderCenterOpacity}
final double overAndUnderCenterOpacity;

/// Size of each child in the main axis. Must be positive.
/// Size of each child in the main axis.
///
/// Must be positive.
final double itemExtent;

/// {@macro flutter.rendering.RenderListWheelViewport.squeeze}
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter/lib/src/widgets/scroll_physics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ class ScrollPhysics {
/// Provides a heuristic to determine if expensive frame-bound tasks should be
/// deferred.
///
/// The velocity parameter may be positive, negative, or zero.
/// The `velocity` parameter may be positive, negative, or zero.
///
/// The context parameter normally refers to the [BuildContext] of the widget
/// The `context` parameter normally refers to the [BuildContext] of the widget
/// making the call, such as an [Image] widget in a [ListView].
///
/// This can be used to determine whether decoding or fetching complex data
Expand Down