Results for “Stack”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Stack-based navigationdoc
widget returned from the builder property. This is the most basic implementation of using stack-based navigati
- Navigate to a new screen and backdoc
route, use the Navigator.push() method. The push() method adds a Route to the stack of routes managed by the Navigator . Where does
- Layouts in Flutterdoc
Learn how Flutter's layout mechanism works and how to build your
- Hero animationsdoc
How to animate a widget to fly between two screens. The hero
- Navigation and routingdoc
Deep linking . Using the Navigator The Navigator widget displays screens as a stack using the correct transition animations for the target platform. To navigate
API reference
- Stackclass
widget that positions its children relative to the edges of its box. widgets.Stack Stack Stack class widgets
- StackFrameclass
object representation of a frame from a stack trace. foundation.StackFrame StackFrame Stack Frame class foundation
- StackFilterclass
class that filters stack frames for additional filtering on FlutterError.defaultStackFilter. foundation.StackFilter StackFilter Stack Filter class foundation
- StackParentDataclass
Parent data for use with RenderStack. rendering.StackParentData StackParentData Stack Parent Data class rendering
- Stack.newconstructor
Creates a stack layout widget. widgets.Stack.Stack.new Stack new Stack.new constructor widgets
- StackFrame.newconstructor
Creates a new StackFrame instance. foundation.StackFrame.StackFrame.new StackFrame new Stack Frame.new constructor foundation
- StackParentData.newconstructor
rendering.StackParentData.StackParentData.new StackParentData new Stack Parent Data.new constructor rendering
- StackFilter.newconstructor
provide const constructors so that they can be used in const expressions. foundation.StackFilter.StackFilter.new StackFilter new Stack Filter.new constructor foundation
- PartialStackFrameclass
Partial information from a stack frame for stack filtering purposes. foundation.PartialStackFrame PartialStackFrame Partial Stack Frame class foundation
- DiagnosticsStackTraceclass
Diagnostic with a StackTrace value suitable for displaying stack traces as part of a FlutterError object. foundation.DiagnosticsStackTrace DiagnosticsStackTrace Diagnostics Stack Trace class foundation
- foundation.StackTraceDemanglertypedef
Signature for a function that demangles StackTrace objects into a format that can be parsed by StackFrame. foundation.StackTraceDemangler StackTraceDemangler Stack Trace Demangler typedef foundation
- RenderStackclass
Implements the stack layout algorithm. rendering.RenderStack RenderStack Render Stack class rendering
- IndexedStackclass
Stack that shows a single child from a list of children. widgets.IndexedStack IndexedStack Indexed Stack class widgets
- RepetitiveStackFrameFilterclass
StackFilter that filters based on repeating lists of PartialStackFrames. foundation.RepetitiveStackFrameFilter RepetitiveStackFrameFilter Repetitive Stack Frame Filter class foundation
- rendering.StackFitenum
size the non-positioned children of a Stack. rendering.StackFit StackFit Stack Fit enum rendering
- Navigator.newconstructor
Creates a widget that maintains a stack-based history of child widgets. widgets.Navigator.Navigator.new Navigator new Navigator.new constructor widgets
- Overlayclass
stack of entries that can be managed independently. widgets.Overlay Overlay Overlay class widgets
- Positionedclass
widget that controls where a child of a Stack is positioned. widgets.Positioned Positioned Positioned class widgets
- RenderStack.newconstructor
Creates a stack render object. rendering.RenderStack.RenderStack.new RenderStack new Render Stack.new constructor rendering
- Navigatorclass
widget that manages a set of child widgets with a stack discipline. widgets.Navigator Navigator Navigator class widgets
- SystemNavigatorclass
Controls specific aspects of the system navigation stack. services.SystemNavigator SystemNavigator System Navigator class services
- DiagnosticsStackTrace.newconstructor
Creates a diagnostic for a stack trace. foundation.DiagnosticsStackTrace.DiagnosticsStackTrace.new DiagnosticsStackTrace new Diagnostics Stack Trace.new constructor foundation
- foundation.debugPrintStackfunction
Dump the stack to the console using debugPrint and FlutterError.defaultStackFilter. foundation.debugPrintStack debugPrintStack debug Print Stack function foundation
- IndexedStack.newconstructor
Stack widget that paints a single child. widgets.IndexedStack.IndexedStack.new IndexedStack new Indexed Stack.new constructor widgets
- UndoHistoryValueclass
Represents whether the current undo stack can undo or redo. widgets.UndoHistoryValue UndoHistoryValue Undo History Value class widgets
- PositionedDirectionalclass
widget that controls where a child of a Stack is positioned without committing to a specific TextDirection. widgets.PositionedDirectional PositionedDirectional Positioned Directional class widgets
- Accumulatorclass
that can be passed by reference to track a value across a recursive stack. painting.Accumulator Accumulator Accumulator class painting
- DiagnosticsStackTrace.singleFrameconstructor
Creates a diagnostic describing a single frame from a StackTrace. foundation.DiagnosticsStackTrace.DiagnosticsStackTrace.singleFrame DiagnosticsStackTrace singleFrame Diagnostics Stack Trace.single Frame constructor foundation
- RenderIndexedStack.newconstructor
render object that paints a single child. rendering.RenderIndexedStack.RenderIndexedStack.new RenderIndexedStack new Render Indexed Stack.new constructor rendering
- Positioned.newconstructor
Creates a widget that controls where a child of a Stack is positioned. widgets.Positioned.Positioned.new Positioned new Positioned.new constructor widgets
- Badge.newconstructor
Create a Badge that stacks label on top of child. material.Badge.Badge.new Badge new Badge.new constructor material
- Positioned.directionalconstructor
Creates a widget that controls where a child of a Stack is positioned. widgets.Positioned.Positioned.directional Positioned directional Positioned.directional constructor widgets
- PositionedDirectional.newconstructor
Creates a widget that controls where a child of a Stack is positioned. widgets.PositionedDirectional.PositionedDirectional.new PositionedDirectional new Positioned Directional.new constructor widgets
- AsyncSnapshot.withErrorconstructor
Creates an AsyncSnapshot in the specified state with the specified error and a stackTrace. widgets.AsyncSnapshot.AsyncSnapshot.withError AsyncSnapshot withError Async Snapshot.with Error constructor widgets
- UndoHistoryValue.newconstructor
Creates a value for whether the current undo stack can undo or redo. widgets.UndoHistoryValue.UndoHistoryValue.new UndoHistoryValue new Undo History Value.new constructor widgets
- NavigationIndicator.newconstructor
Builds an indicator, usually used in a stack behind the icon of a navigation bar destination. material.NavigationIndicator.NavigationIndicator.new NavigationIndicator new Navigation Indicator.new constructor material
- cupertino.showCupertinoSheetfunction
style sheet widget that slides up from the bottom of the screen and stacks the previous route behind the new sheet. cupertino.showCupertinoSheet showCupertinoSheet show Cupertino Sheet function
Version changes
- - Building AARs may cause a stack overflow.1.20.3bugfix
Building AARs may cause a stack overflow
- - Fix Dart2js stack overflow in value range analysis.3.16.8bugfix
Dart2js stack overflow in value range analysis
- Prevent `StateError: Bad state: Future already completed in Symbolizer` during stack symbolization.3.47.2bugfix
Prevent `StateError: Bad state: Future already completed in Symbolizer` during stack symbolization
- Add hitTestChildren to baseline-aligned stack3.38.0new-feature
hitTestChildren to baseline-aligned stack (Framework, by @victorsanni
- add stacktrace support when requested for host builds3.44.0new-feature
stacktrace support when requested for host builds (Other changes, by @planetmarshall
- Detach LLDB and print stack trace on process stop3.47.0platform
Detach LLDB and print stack trace on process stop (iOS, by @vashworth
- docs: Stack.clipBehavior = Clip.none does not extend hit testing (#160787)3.47.0docs
docs: Stack.clipBehavior = Clip.none does not extend hit testing (#160787) (Framework, by @NadeemIqbal
- Improve Stack widget error message for bounded constraints3.38.0improvement
Improve Stack widget error message for bounded constraints (Framework, by @Rushikeshbhavsar20
- [ Tool ] Add `Stream.transformWithCallSite` to provide more useful stack traces3.41.0new-feature
Tool ] Add `Stream.transformWithCallSite` to provide more useful stack traces (iOS, by @bkonyi). Stream.transformWithCallSite
- Correct editable text and placeholder position in baseline aligned stack3.41.0improvement
Correct editable text and placeholder position in baseline aligned stack (Framework, by @victorsanni
- [web] Fix stack corruption in Skwasm and harden withStackScope API3.44.0bugfix
stack corruption in Skwasm and harden withStackScope API (Web, by @harryterkelsen
- [web] Use heap allocation for buffers that would consume too much space on the Wasm stack3.47.0platform
heap allocation for buffers that would consume too much space on the Wasm stack (Web, by @jason-simmons
- Clip behavior2.0.0breaking
Flutter now defaults to _not_ clip except for a few specialized widgets
- Added missing dispose() for some disposable objects in Flutter3.13.0breaking
first time. You can locate the incorrect call by temporary calling `print(StackTrace.current)` in the body of the failed method `dispose
- More Strict Assertions in the Navigator and the Hero Controller Scope1.20.0breaking
navigators are under the same // hero controller scope created by MaterialApp. return Stack( children: [ Navigator( onGenerateRoute: (RouteSettings settings) { return MaterialPageRoute ( settings: settings, builder: (BuildContext context) { return const
- The Route Transition record and Transition delegate updates1.20.0breaking
receives a new list of pages, it tries to update its current routes stack to match the list. However, it requires explicit decisions on how to transition
- Generic type of ParentDataWidget changed to ParentData1.17.0breaking
ancestor. For example, a `Positioned` widget could only be used within a `Stack` widget. With this change, a `ParentDataWidget` can be used with any `RenderObjectWidget` type