Results for “Visibility”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Networking and JSON3.47.7data
Use package:http to send a request, await the Future , check the
- Performance3.47.7performance
children: [...]) or a Column with thousands of children); ListView.builder builds only what is visible, and itemExtent/prototypeItem let the scroll machinery skip layout work. Opacity, ShaderMask, ColorFilter
Guides
- Fade a widget in and outdoc
fade in and out. Define a StatefulWidget . Display a button that toggles the visibility. Fade the box in and out. 1. Create a box to fade
- Layouts in Flutterdoc
such as the rows, columns, and grids that arrange, constrain, and align the visible widgets. You create a layout by composing widgets to build more complex widgets
- Focus and text fieldsdoc
This allows the user to start typing as soon as the screen is visible, without needing to manually tap the text field. In this recipe, learn
- Performance best practicesdoc
How to ensure that your Flutter app is performant. Generally, Flutter applications
- Understanding constraintsdoc
Flutter's model for widget constraints, sizing, positioning, and how they interact
- Handle scrollingdoc
How to handle scrolling in a widget test. Many apps feature lists
- Flutter performance profilingdoc
Diagnosing UI performance issues in Flutter. Overview App performance encompasses various aspects
API reference
- Visibilityclass
Whether to show or hide a child. widgets.Visibility Visibility Visibility class widgets
- Visibility.newconstructor
Control whether the given child is visible. widgets.Visibility.Visibility.new Visibility new Visibility.new constructor widgets
- Visibility.maintainconstructor
Control whether the given child is visible. widgets.Visibility.Visibility.maintain Visibility maintain Visibility.maintain constructor widgets
- TooltipVisibilityclass
Overrides the visibility of descendant Tooltip widgets. material.TooltipVisibility TooltipVisibility Tooltip Visibility class material
- ViewportOffsetclass
Which part of the content inside the viewport should be visible. rendering.ViewportOffset ViewportOffset Viewport Offset class rendering
- ScrollPositionclass
Determines which portion of the content is visible in a scroll view. widgets.ScrollPosition ScrollPosition Scroll Position class widgets
- RawMenuAnchorGroupclass
Creates a menu anchor that is always visible and is not displayed in an OverlayPortal. widgets.RawMenuAnchorGroup RawMenuAnchorGroup Raw Menu Anchor Group class widgets
- cupertino.OverlayVisibilityModeenum
Visibility of text field overlays based on the state of the current text entry. cupertino.OverlayVisibilityMode OverlayVisibilityMode Overlay Visibility Mode enum cupertino
- ExpansionPanelclass
either expanded or collapsed. The body of the panel is only visible when it is expanded. material.ExpansionPanel ExpansionPanel Expansion Panel class material
- LookupBoundaryclass
lookup boundary controls what entities are visible to descendants of the boundary via the static lookup methods provided by the boundary. widgets.LookupBoundary LookupBoundary Lookup Boundary class widgets
- SliverVisibility.maintainconstructor
Control whether the given sliver is visible. widgets.SliverVisibility.SliverVisibility.maintain SliverVisibility maintain Sliver Visibility.maintain constructor widgets
- SliverVisibility.newconstructor
Control whether the given sliver is visible. widgets.SliverVisibility.SliverVisibility.new SliverVisibility new Sliver Visibility.new constructor widgets
- TooltipVisibility.newconstructor
Creates a widget that configures the visibility of Tooltip. material.TooltipVisibility.TooltipVisibility.new TooltipVisibility new Tooltip Visibility.new constructor material
- ScrollPosition.newconstructor
Creates an object that determines which portion of the content is visible in a scroll view. widgets.ScrollPosition.ScrollPosition.new ScrollPosition new Scroll Position.new constructor widgets
- widgets.FloatingHeaderSnapModeenum
Specifies how a partially visible SliverFloatingHeader animates into a view when a user scroll gesture ends. widgets.FloatingHeaderSnapMode FloatingHeaderSnapMode Floating Header Snap Mode enum widgets
- SliverVisibilityclass
Whether to show or hide a sliver child. widgets.SliverVisibility SliverVisibility Sliver Visibility class widgets
Version changes
- The Visibility widget is no longer focusable by default when maintainState is enabled3.35.0breaking
children would be focusable with keyboard events (see issue) due to the underlying `Visibility` widgets default behavior. The core change is the `Visibility` widget
- - Some widgets are not visible when nested inside of `ClipRRect` in CanvasKit mode when using Flutter web on Safari.3.3.10bugfix
Some widgets are not visible when nested inside of `ClipRRect` in CanvasKit mode when using Flutter web on Safari
- Added AppLifecycleState.hidden3.13.0breaking
added to the `AppLifecycleState` enum to denote when the application is not visible. The new state `AppLifecycleState.hidden` was added to the `AppLifecycleState` enum in the `dart
- Restrict PlatformViewCreationRequest constructor visibility3.47.0platform
Restrict PlatformViewCreationRequest constructor visibility (Android, by @mboetger). PlatformViewCreationRequest
- Fix Slider dragged mouse cursor visibility.3.38.0bugfix
Slider dragged mouse cursor visibility. (Material, by @ksokolovskyi
- [HCPP] Properly remove hcpp views that are no longer visible3.41.0platform
HCPP] Properly remove hcpp views that are no longer visible (Android, by @gmackall
- Remove unnecessary Material import from sliver_visibility_test3.44.0improvement
Remove unnecessary Material import from sliver_visibility_test (Framework, by @kazbeksultanov
- [Android] Reset system UI visibility flags when setting edge-to-edge mode3.47.0platform
Android] Reset system UI visibility flags when setting edge-to-edge mode (Android, by @camsim99
- The new Form, FormField auto-validation API1.22.0breaking
these widgets always happened on first build when the widget was first visible to the user, and you weren't able to control when the auto validation
- Using ScrollViewKeyboardDismissBehavior.onDrag in a SingleChildScrollView causes text fields to immediately unfocus if the keyboard...3.27.2bugfix
immediately unfocus if the keyboard opening scrolls the text field to keep it visible
- Accessibility traversal order of tooltip changed3.19.0breaking
appear in a specific location in the semantics tree, when it is visible. Update any failing accessibility tests to adopt the new tooltip semantics order. For example
- When an OverlayPortal is displayed on iOS, accessibility frames are shrunk by the device pixel ratio and anchored to the top-left, so...3.47.7bugfix
anchored to the top-left, so VoiceOver focus and XCUITest taps miss the visible controls
- Deprecate InputDecoration.maintainHintHeight in favor of InputDecoration.maintainHintSize3.32.0deprecated
make the intrinsic size ignores the hint size when the hint isn't visible. Previously, the `InputDecoration.maintainHintHeight` parameter was used to override the default intrinsic height
- New APIs for Android plugins that render to a Surface3.24.0breaking
background, Android and Flutter _may_ destroy a surface when it is no longer visible. To ensure that the surface is recreated when the application is resumed