Results for “Viewport”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Common Flutter errors and how to fix them3.47.7widgets
Expanded or Flexible, let text ellipsize, or make the content scroll. 'Vertical viewport was given unbounded height' and 'An InputDecorator ... cannot have an unbounded width': a ListView
- Layout and constraints3.47.7layout
smaller. The two most common layout errors, 'RenderFlex overflowed' and 'Vertical viewport was given unbounded height', are both fixed by giving the child a bounded size, usually
API reference
- Viewportclass
larger content can be viewed, typically in combination with a Scrollable. widgets.Viewport Viewport Viewport class widgets
- ViewportOffsetclass
Which part of the content inside the viewport should be visible. rendering.ViewportOffset ViewportOffset Viewport Offset class rendering
- ViewportOffset.zeroconstructor
Creates a viewport offset with a pixels value of 0.0. rendering.ViewportOffset.ViewportOffset.zero ViewportOffset zero Viewport Offset.zero constructor rendering
- ViewportOffset.fixedconstructor
Creates a viewport offset with the given pixels value. rendering.ViewportOffset.ViewportOffset.fixed ViewportOffset fixed Viewport Offset.fixed constructor rendering
- ViewportOffset.newconstructor
Default constructor. rendering.ViewportOffset.ViewportOffset.new ViewportOffset new Viewport Offset.new constructor rendering
- Viewport.newconstructor
Creates a widget that is bigger on the inside. widgets.Viewport.Viewport.new Viewport new Viewport.new constructor widgets
- widgets.ViewportElementMixinmixin
containing Viewport like widgets to correctly modify the notification depth of a ViewportNotificationMixin. widgets.ViewportElementMixin ViewportElementMixin Viewport Element Mixin mixin widgets
- RenderSliverPinnedPersistentHeaderclass
sliver with a RenderBox child which never scrolls off the viewport in the positive scroll direction, and which first scrolls on at a full size but then
- NestedScrollViewViewportclass
Viewport variant used by NestedScrollView. widgets.NestedScrollViewViewport NestedScrollViewViewport Nested Scroll View Viewport class widgets
- ListWheelViewportclass
viewport showing a subset of children on a wheel. widgets.ListWheelViewport ListWheelViewport List Wheel Viewport class widgets
- SliverFillViewportclass
sliver that contains multiple box children that each fills the viewport. widgets.SliverFillViewport SliverFillViewport Sliver Fill Viewport class widgets
- RenderSliverFillViewportclass
sliver that contains multiple box children that each fill the viewport. rendering.RenderSliverFillViewport RenderSliverFillViewport Render Sliver Fill Viewport class rendering
- RenderListWheelViewportclass
Render, onto a wheel, a bigger sequential set of objects inside this viewport. rendering.RenderListWheelViewport RenderListWheelViewport Render List Wheel Viewport class rendering
- widgets.ViewportBuildertypedef
build the viewport through which the scrollable content is displayed. widgets.ViewportBuilder ViewportBuilder Viewport Builder typedef widgets
- RenderViewport.newconstructor
Creates a viewport for RenderSliver objects. rendering.RenderViewport.RenderViewport.new RenderViewport new Render Viewport.new constructor rendering
- ChildVicinityclass
child in a TwoDimensionalViewport in relation to other children of the viewport. widgets.ChildVicinity ChildVicinity Child Vicinity class widgets
- FixedScrollMetricsclass
immutable snapshot of values associated with a Scrollable viewport. widgets.FixedScrollMetrics FixedScrollMetrics Fixed Scroll Metrics class widgets
- NestedScrollViewViewport.newconstructor
Viewport that has a SliverOverlapAbsorberHandle. widgets.NestedScrollViewViewport.NestedScrollViewViewport.new NestedScrollViewViewport new Nested Scroll View Viewport.new constructor widgets
- RenderSliverclass
Base class for the render objects that implement scroll effects in viewports. rendering.RenderSliver RenderSliver Render Sliver class rendering
- ScrollCacheExtentclass
amount of additional content to display and lay out around the viewport. rendering.ScrollCacheExtent ScrollCacheExtent Scroll Cache Extent class rendering
- Scrollableclass
widget that manages scrolling in one dimension and informs the Viewport through which the content is viewed. widgets.Scrollable Scrollable Scrollable class widgets
- ListWheelViewport.newconstructor
where children are rendered onto a wheel. widgets.ListWheelViewport.ListWheelViewport.new ListWheelViewport new List Wheel Viewport.new constructor widgets
- TreeSliverclass
that displays TreeSliverNodes that expand and collapse in a vertically and horizontally scrolling Viewport. widgets.TreeSliver TreeSliver Tree Sliver class widgets
- SliverFillViewport.newconstructor
children that each fill the viewport. widgets.SliverFillViewport.SliverFillViewport.new SliverFillViewport new Sliver Fill Viewport.new constructor widgets
- SliverFillRemainingclass
that contains a single box child that fills the remaining space in the viewport. widgets.SliverFillRemaining SliverFillRemaining Sliver Fill Remaining class widgets
- ScrollCacheExtent.viewportconstructor
Creates a cache extent as a multiplier of the viewport's main axis extent. rendering.ScrollCacheExtent.ScrollCacheExtent.viewport ScrollCacheExtent viewport Scroll Cache Extent.viewport constructor rendering
- widgets.TwoDimensionalViewportBuildertypedef
Signature used by TwoDimensionalScrollable to build the viewport through which the scrollable content is displayed. widgets.TwoDimensionalViewportBuilder TwoDimensionalViewportBuilder Two Dimensional Viewport Builder typedef widgets
- ScrollViewclass
widget that combines a Scrollable and a Viewport to create an interactive scrolling pane of content in one dimension. widgets.ScrollView ScrollView Scroll View class widgets
- RenderSliverFillViewport.newconstructor
children that each fill the viewport. rendering.RenderSliverFillViewport.RenderSliverFillViewport.new RenderSliverFillViewport new Render Sliver Fill Viewport.new constructor rendering
- TwoDimensionalViewport.newconstructor
scroll in both horizontal and vertical dimensions. widgets.TwoDimensionalViewport.TwoDimensionalViewport.new TwoDimensionalViewport new Two Dimensional Viewport.new constructor widgets
- RenderShrinkWrappingViewport.newconstructor
RenderSliver objects) that shrink-wraps its contents. rendering.RenderShrinkWrappingViewport.RenderShrinkWrappingViewport.new RenderShrinkWrappingViewport new Render Shrink Wrapping Viewport.new constructor rendering
- SliverPersistentHeaderclass
whose size varies when the sliver is scrolled to the edge of the viewport opposite the sliver's GrowthDirection. widgets.SliverPersistentHeader SliverPersistentHeader Sliver Persistent Header class widgets
- RenderSliverFillRemainingWithScrollableclass
that contains a single box child that contains a scrollable and fills the viewport. rendering.RenderSliverFillRemainingWithScrollable RenderSliverFillRemainingWithScrollable Render Sliver Fill Remaining With Scrollable class rendering
- RenderSliverFillRemainingclass
child that is non-scrollable and fills the remaining space in the viewport. rendering.RenderSliverFillRemaining RenderSliverFillRemaining Render Sliver Fill Remaining class rendering
- RenderSliverFillRemainingAndOverscrollclass
child that is non-scrollable and fills the remaining space in the viewport including any overscrolled area. rendering.RenderSliverFillRemainingAndOverscroll RenderSliverFillRemainingAndOverscroll Render Sliver Fill Remaining And Overscroll class rendering
- RenderSliverFloatingPinnedPersistentHeaderclass
RenderBox child which shrinks and then remains pinned to the start of the viewport like a RenderSliverPinnedPersistentHeader, but immediately grows when the user scrolls in the reverse
- RenderSliverScrollingPersistentHeaderclass
except that when it hits the leading edge (typically the top) of the viewport, it shrinks to a minimum size before continuing to scroll. rendering.RenderSliverScrollingPersistentHeader RenderSliverScrollingPersistentHeader Render
- RenderSliverPersistentHeaderclass
except that when it hits the leading edge (typically the top) of the viewport, it shrinks to a minimum size (minExtent). rendering.RenderSliverPersistentHeader RenderSliverPersistentHeader Render Sliver Persistent Header
- rendering.CacheExtentStyleenum
unit of measurement for a Viewport.cacheExtent. rendering.CacheExtentStyle CacheExtentStyle Cache Extent Style enum rendering
- rendering.SliverPaintOrderenum
Specifies an order in which to paint the slivers of a Viewport. rendering.SliverPaintOrder SliverPaintOrder Sliver Paint Order enum rendering
- widgets.ScrollMetricsmixin
description of a Scrollable's contents, useful for modeling the state of its viewport. widgets.ScrollMetrics ScrollMetrics Scroll Metrics mixin widgets
- widgets.ViewportNotificationMixinmixin
Mixin for Notifications that track how many RenderAbstractViewport they have bubbled through. widgets.ViewportNotificationMixin ViewportNotificationMixin Viewport Notification Mixin mixin widgets
- widgets.PanAxisenum
used to specify the behavior of the InteractiveViewer when the user drags the viewport. widgets.PanAxis PanAxis Pan Axis enum widgets
- SliverFillRemaining.newconstructor
Creates a sliver that fills the remaining space in the viewport. widgets.SliverFillRemaining.SliverFillRemaining.new SliverFillRemaining new Sliver Fill Remaining.new constructor widgets
- RenderSliverPadding.newconstructor
Creates a render object that insets its child in a viewport. rendering.RenderSliverPadding.RenderSliverPadding.new RenderSliverPadding new Render Sliver Padding.new constructor rendering
- SliverPersistentHeader.newconstructor
that varies its size when it is scrolled to the start of a viewport. widgets.SliverPersistentHeader.SliverPersistentHeader.new SliverPersistentHeader new Sliver Persistent Header.new constructor widgets
- FixedScrollMetrics.newconstructor
Creates an immutable snapshot of values associated with a Scrollable viewport. widgets.FixedScrollMetrics.FixedScrollMetrics.new FixedScrollMetrics new Fixed Scroll Metrics.new constructor widgets
- widgets.InteractiveViewerWidgetBuildertypedef
signature for widget builders that take a Quad of the current viewport. widgets.InteractiveViewerWidgetBuilder InteractiveViewerWidgetBuilder Interactive Viewer Widget Builder typedef widgets
- RenderSliverPersistentHeader.newconstructor
sliver that changes its size when scrolled to the start of the viewport. rendering.RenderSliverPersistentHeader.RenderSliverPersistentHeader.new RenderSliverPersistentHeader new Render Sliver Persistent Header.new constructor rendering
- RenderSliverScrollingPersistentHeader.newconstructor
Creates a sliver that shrinks when it hits the start of the viewport, then scrolls off. rendering.RenderSliverScrollingPersistentHeader.RenderSliverScrollingPersistentHeader.new RenderSliverScrollingPersistentHeader new Render Sliver Scrolling Persistent Header.new constructor rendering
- ChildVicinity.newconstructor
plane, with the xIndex and yIndex being relative to other children in the viewport. widgets.ChildVicinity.ChildVicinity.new ChildVicinity new Child Vicinity.new constructor widgets
- RenderSliverPinnedPersistentHeader.newconstructor
Creates a sliver that shrinks when it hits the start of the viewport, then stays pinned there. rendering.RenderSliverPinnedPersistentHeader.RenderSliverPinnedPersistentHeader.new RenderSliverPinnedPersistentHeader new Render Sliver Pinned Persistent Header.new constructor rendering
Version changes
- [Impeller] Commands that don't specify their own viewports get the viewport of the render pass.3.47.0improvement
Impeller] Commands that don't specify their own viewports get the viewport of the render pass. (Other changes, by @chinmaygarde
- Deprecated cacheExtent and cacheExtentStyle3.44.0deprecated
cacheExtent` and `cacheExtentStyle` in scrolling-related widgets, such as `ListView`, `GridView`, `CustomScrollView`, and `Viewport`, and their corresponding render objects, such as `RenderViewport`. The new `scrollCacheExtent` property encapsulates
- Adds cache extent type to two_dimentional_viewport3.41.0performance
Adds cache extent type to two_dimentional_viewport (Framework, by @chunhtai
- Fix - Semantics focus does not move outside viewport when moving up or down3.41.0bugfix
Semantics focus does not move outside viewport when moving up or down (Android, by @jwlilly
- [Impeller] Vulkan: don't drop user-supplied viewport X, Y, and depth range3.47.0improvement
Impeller] Vulkan: don't drop user-supplied viewport X, Y, and depth range (Other changes, by @bdero
- Improve Flutter Web accessibility: update flt meta viewport tag to align with WCAG 2 guidelines3.47.0platform
Improve Flutter Web accessibility: update flt meta viewport tag to align with WCAG 2 guidelines (Web, by @jlemanski1