Skip to content
Draft
Changes from all commits
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
4 changes: 4 additions & 0 deletions packages/flutter/lib/src/widgets/basic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@ class BackdropGroup extends InheritedWidget {
/// widget's clip. If there's no clip, the filter will be applied to the full
/// screen.
///
/// This widget only filters content rendered by Flutter. It does not affect
/// native platform views (like Android views or iOS views) because those views
/// are rendered by the platform itself, not by Flutter's engine.
Comment on lines +495 to +497
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To adhere to the Flutter style guide, consider linking to the definitions of the terms introduced. Using specific widget references like [AndroidView] and [UiKitView] provides better context for 'platform views'. Additionally, 'the Flutter engine' is the standard terminology used in the documentation.

/// This widget only filters content rendered by Flutter. It does not affect
/// platform views (such as [AndroidView] or [UiKitView]) because those views
/// are rendered by the platform itself, not by the Flutter engine.
References
  1. Introduce terms: Assume the reader does not know everything. Link to definitions. (link)

///
/// The results of the filter will be blended back into the background using
/// the [blendMode] parameter.
/// {@template flutter.widgets.BackdropFilter.blendMode}
Expand Down
Loading