material library
Flutter widgets implementing Material Design.
To use, import package:flutter/material.dart
.
See also:
- flutter.io/widgets for a catalog of commonly-used Flutter widgets.
- material.google.com for an introduction to Material Design.
Classes
- AboutDialog
- An about box. This is a dialog box with the application's icon, name, version number, and copyright, plus a button to show licenses for software used by the application. [...]
- AboutListTile
- A ListTile that shows an about box. [...]
- AbsorbPointer
- A widget that absorbs pointers during hit testing. [...]
- ActionChip
- A material design action chip. [...]
- AlertDialog
- A material design alert dialog. [...]
- Align
- A widget that aligns its child within itself and optionally sizes itself based on the child's size. [...]
- Alignment
- A point within a rectangle. [...]
- AlignmentDirectional
- An offset that's expressed as a fraction of a Size, but whose horizontal component is dependent on the writing direction. [...]
- AlignmentGeometry
- Base class for Alignment that allows for text-direction aware resolution. [...]
- AlignmentGeometryTween
- An interpolation between two AlignmentGeometry. [...]
- AlignmentTween
- An interpolation between two alignments. [...]
- AlignTransition
- Animated version of an Align that animates its Align.alignment property. [...]
- AlwaysScrollableScrollPhysics
- Scroll physics that always lets the user scroll. [...]
-
AlwaysStoppedAnimation<
T> - An animation that is always stopped at a given value. [...]
- AndroidView
- Embeds an Android view in the Widget hierarchy. [...]
-
Animatable<
T> -
An object that can produce a value of type
T
given an Animation<double> as input. [...] - AnimatedAlign
- Animated version of Align which automatically transitions the child's position over a given duration whenever the given alignment changes. [...]
- AnimatedBuilder
- A general-purpose widget for building animations. [...]
- AnimatedContainer
- A container that gradually changes its values over a period of time. [...]
- AnimatedCrossFade
- A widget that cross-fades between two given children and animates itself between their sizes. [...]
- AnimatedDefaultTextStyle
- Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes. [...]
- AnimatedIcon
- Shows an animated icon at a given animation progress. [...]
- AnimatedIconData
- Vector graphics data for icons used by AnimatedIcon. [...]
- AnimatedIcons
- Identifier for the supported material design animated icons. [...]
- AnimatedList
- A scrolling container that animates items when they are inserted or removed. [...]
- AnimatedListState
- The state for a scrolling container that animates items when they are inserted or removed. [...]
- AnimatedModalBarrier
- A widget that prevents the user from interacting with widgets behind itself, and can be configured with an animated color value. [...]
- AnimatedOpacity
- Animated version of Opacity which automatically transitions the child's opacity over a given duration whenever the given opacity changes. [...]
- AnimatedPadding
- Animated version of Padding which automatically transitions the indentation over a given duration whenever the given inset changes. [...]
- AnimatedPhysicalModel
- Animated version of PhysicalModel. [...]
- AnimatedPositioned
- Animated version of Positioned which automatically transitions the child's position over a given duration whenever the given position changes. [...]
- AnimatedPositionedDirectional
- Animated version of PositionedDirectional which automatically transitions the child's position over a given duration whenever the given position changes. [...]
- AnimatedSize
- Animated widget that automatically transitions its size over a given duration whenever the given child's size changes.
- AnimatedSwitcher
- A widget that by default does a FadeTransition between a new widget and the widget previously set on the AnimatedSwitcher as a child. [...]
- AnimatedTheme
- Animated version of Theme which automatically transitions the colors, etc, over a given duration whenever the given theme changes. [...]
- AnimatedWidget
- A widget that rebuilds when the given Listenable changes value. [...]
-
AnimatedWidgetBaseState<
T extends ImplicitlyAnimatedWidget> - A base class for widgets with implicit animations that need to rebuild their widget tree as the animation runs. [...]
-
Animation<
T> -
An animation with a value of type
T
. [...] - AnimationController
- A controller for an animation. [...]
-
AnimationMax<
T extends num> - An animation that tracks the maximum of two other animations. [...]
- AnimationMean
- An animation of doubles that tracks the mean of two other animations. [...]
-
AnimationMin<
T extends num> - An animation that tracks the minimum of two other animations. [...]
-
AnnotatedRegion<
T> - Annotates a region of the layer tree with a value. [...]
- AppBar
- A material design app bar. [...]
- AspectRatio
- A widget that attempts to size the child to a specific aspect ratio. [...]
- AssetBundleImageKey
- Key for the image obtained by an AssetImage or ExactAssetImage. [...]
- AssetBundleImageProvider
- A subclass of ImageProvider that knows about AssetBundles. [...]
- AssetImage
- Fetches an image from an AssetBundle, having determined the exact image to use based on the context. [...]
-
AsyncSnapshot<
T> - Immutable representation of the most recent interaction with an asynchronous computation. [...]
- AutomaticKeepAlive
- Allows subtrees to request to be kept alive in lazy lists. [...]
- BackButton
- A material design back button. [...]
- BackButtonIcon
- A "back" icon that's appropriate for the current TargetPlatform. [...]
- BackdropFilter
- A widget that applies a filter to the existing painted content and then paints child. [...]
- BallisticScrollActivity
- An activity that animates a scroll view based on a physics Simulation. [...]
- Banner
- Displays a diagonal message above the corner of another widget. [...]
- BannerPainter
- Paints a Banner.
- Baseline
- A widget that positions its child according to the child's baseline. [...]
- BeveledRectangleBorder
- A rectangular border with flattened or "beveled" corners. [...]
- BlockSemantics
- A widget that drops the semantics of all widget that were painted before it in the same semantic container. [...]
- Border
- A border of a box, comprised of four sides: top, right, bottom, left. [...]
- BorderDirectional
- A border of a box, comprised of four sides, the lateral sides of which flip over based on the reading direction. [...]
- BorderRadius
- An immutable set of radii for each corner of a rectangle. [...]
- BorderRadiusDirectional
- An immutable set of radii for each corner of a rectangle, but with the corners specified in a manner dependent on the writing direction. [...]
- BorderRadiusGeometry
- Base class for BorderRadius that allows for text-direction aware resolution. [...]
- BorderRadiusTween
- An interpolation between two BorderRadiuss. [...]
- BorderSide
- A side of a border of a box. [...]
- BorderTween
- An interpolation between two Borders. [...]
- BottomAppBar
- A container that is typically used with Scaffold.bottomNavigationBar, and can have a notch along the top that makes room for an overlapping FloatingActionButton. [...]
- A material widget displayed at the bottom of an app for selecting among a small number of views, typically between three and five. [...]
- An interactive button within either material's BottomNavigationBar or the iOS themed CupertinoTabBar with an icon and title. [...]
- BottomSheet
- A material design bottom sheet. [...]
- BouncingScrollPhysics
- Scroll physics for environments that allow the scroll offset to go beyond the bounds of the content, but then bounce the content back to the edge of those bounds. [...]
- BouncingScrollSimulation
- An implementation of scroll physics that matches iOS. [...]
- BoxBorder
- Base class for box borders that can paint as rectangles, circles, or rounded rectangles. [...]
- BoxConstraints
- Immutable layout constraints for RenderBox layout. [...]
- BoxConstraintsTween
- An interpolation between two BoxConstraints. [...]
- BoxDecoration
- An immutable description of how to paint a box. [...]
- BoxPainter
- A stateful class that can paint a particular Decoration. [...]
- BoxScrollView
- A ScrollView that uses a single child layout model. [...]
- BoxShadow
- A shadow cast by a box. [...]
- BuildContext
- A handle to the location of a widget in the widget tree. [...]
- Builder
- A platonic widget that calls a closure to obtain its child widget. [...]
- BuildOwner
- Manager class for the widgets framework. [...]
- ButtonBar
- An end-aligned row of buttons. [...]
- ButtonTheme
- Used with ButtonThemeData to configure the color and geometry of buttons. [...]
- ButtonThemeData
- Used with ButtonTheme to configure the color and geometry of buttons. [...]
- Canvas
- An interface for recording graphical operations. [...]
- Card
- A material design card. A card has slightly rounded corners and a shadow. [...]
- Center
- A widget that centers its child within itself. [...]
- ChangeNotifier
- A class that can be extended or mixed in that provides a change notification API using VoidCallback for notifications. [...]
- Checkbox
- A material design checkbox. [...]
- CheckboxListTile
- A ListTile with a Checkbox. In other words, a checkbox with a label. [...]
- CheckedModeBanner
- Displays a Banner saying "DEBUG" when running in checked mode. MaterialApp builds one of these by default. Does nothing in release mode.
-
CheckedPopupMenuItem<
T> - An item with a checkmark in a material design popup menu. [...]
- Chip
- A material design chip. [...]
- ChipAttributes
- An interface defining the base attributes for a material design chip. [...]
- ChipTheme
- Applies a chip theme to descendant RawChip-based widgets, like Chip, InputChip, ChoiceChip, FilterChip, and ActionChip. [...]
- ChipThemeData
- Holds the color, shape, and text styles for a material design chip theme. [...]
- ChoiceChip
- A material design choice chip. [...]
- CircleAvatar
- A circle that represents a user. [...]
- CircleBorder
- A border that fits a circle within the available space. [...]
- CircularNotchedRectangle
- A rectangle with a smooth circular notch.
- CircularProgressIndicator
- A material design circular progress indicator, which spins to indicate that the application is busy. [...]
- ClampingScrollPhysics
- Scroll physics for environments that prevent the scroll offset from reaching beyond the bounds of the content. [...]
- ClampingScrollSimulation
- An implementation of scroll physics that matches Android. [...]
- ClipContext
-
Clip utilities used by PaintingContext and
TestRecordingPaintingContext
. - ClipOval
- A widget that clips its child using an oval. [...]
- ClipPath
- A widget that clips its child using a path. [...]
- ClipRect
- A widget that clips its child using a rectangle. [...]
- ClipRRect
- A widget that clips its child using a rounded rectangle. [...]
- CloseButton
- A material design close button. [...]
- Color
- An immutable 32 bit color value in ARGB format. [...]
- ColorFilter
- A description of a color filter to apply when drawing a shape or compositing a layer with a particular Paint. A color filter is a function that takes two colors, and outputs one color. When applied during compositing, it is independently applied to each pixel of the layer being drawn before the entire layer is merged with the destination. [...]
- Colors
- Color and ColorSwatch constants which represent Material design's color palette. [...]
- ColorScheme
- A set of twelve colors based on the Material spec that can be used to configure the color properties of most components. [...]
-
ColorSwatch<
T> - A color that has a small table of related colors called a "swatch". [...]
- ColorTween
- An interpolation between two colors. [...]
- Column
- A widget that displays its children in a vertical array. [...]
- ComponentElement
- An Element that composes other Elements. [...]
- CompositedTransformFollower
- A widget that follows a CompositedTransformTarget. [...]
- CompositedTransformTarget
- A widget that can be targeted by a CompositedTransformFollower. [...]
-
CompoundAnimation<
T> -
An interface for combining multiple Animations. Subclasses need only
implement the
value
getter to control how the child animations are combined. Can be chained to combine more than 2 animations. [...] -
ConstantTween<
T> - A tween with a constant value.
- ConstrainedBox
- A widget that imposes additional constraints on its child. [...]
- Container
- A convenience widget that combines common painting, positioning, and sizing widgets. [...]
- Cubic
- A cubic polynomial mapping of the unit interval. [...]
- CupertinoPageTransitionsBuilder
- Used by PageTransitionsTheme to define a horizontal MaterialPageRoute page transition animation that matches native iOS page transitions. [...]
- Curve
- An easing curve, i.e. a mapping of the unit interval to the unit interval. [...]
- CurvedAnimation
- An animation that applies a curve to another animation. [...]
- Curves
- A collection of common animation curves. [...]
- CurveTween
- Transforms the value of the given animation by the given curve. [...]
-
CustomClipper<
T> - An interface for providing custom clips. [...]
- CustomMultiChildLayout
- A widget that uses a delegate to size and position multiple children. [...]
- CustomPaint
- A widget that provides a canvas on which to draw during the paint phase. [...]
- CustomPainter
- The interface used by CustomPaint (in the widgets library) and RenderCustomPaint (in the rendering library). [...]
- CustomPainterSemantics
- Contains properties describing information drawn in a rectangle contained by the Canvas used by a CustomPaint. [...]
- CustomScrollView
- A ScrollView that creates custom scroll effects using slivers. [...]
- CustomSingleChildLayout
- A widget that defers the layout of its single child to a delegate. [...]
- DataCell
- The data for a cell of a DataTable. [...]
- DataColumn
- Column configuration for a DataTable. [...]
- DataRow
- Row configuration and cell data for a DataTable. [...]
- DataTable
- A material design data table. [...]
- DataTableSource
- A data source for obtaining row data for PaginatedDataTable objects. [...]
- DayPicker
- Displays the days of a given month and allows choosing a day. [...]
- DecoratedBox
- A widget that paints a Decoration either before or after its child paints. [...]
- DecoratedBoxTransition
- Animated version of a DecoratedBox that animates the different properties of its Decoration. [...]
- Decoration
- A description of a box decoration (a decoration applied to a Rect). [...]
- DecorationImage
- An image for a box decoration. [...]
- DecorationImagePainter
- The painter for a DecorationImage. [...]
- DecorationTween
- An interpolation between two Decorations. [...]
- DefaultAssetBundle
- A widget that determines the default asset bundle for its descendants. [...]
- DefaultMaterialLocalizations
- US English strings for the material widgets. [...]
- DefaultTabController
- The TabController for descendant widgets that don't specify one explicitly. [...]
- DefaultTextStyle
- The text style to apply to descendant Text widgets without explicit style.
- DefaultTextStyleTransition
- Animated version of a DefaultTextStyle that animates the different properties of its TextStyle. [...]
- DefaultWidgetsLocalizations
- US English localizations for the widgets library. [...]
- DeletableChipAttributes
- An interface for material design chips that can be deleted. [...]
- Dialog
- A material design dialog. [...]
- DialogTheme
- Defines a theme for Dialog widgets. [...]
- Directionality
- A widget that determines the ambient directionality of text and text-direction-sensitive render objects. [...]
- DisabledChipAttributes
- An interface for material design chips that can be enabled and disabled. [...]
- Dismissible
- A widget that can be dismissed by dragging in the indicated direction. [...]
- Divider
- A one device pixel thick horizontal line, with padding on either side. [...]
- DragDownDetails
- Details object for callbacks that use GestureDragDownCallback. [...]
- DragEndDetails
- Details object for callbacks that use GestureDragEndCallback. [...]
-
Draggable<
T> - A widget that can be dragged from to a DragTarget. [...]
- DraggableDetails
- Represents the details when a specific pointer event occurred on the Draggable. [...]
- DragScrollActivity
- The activity a scroll view performs when a the user drags their finger across the screen. [...]
- DragStartDetails
- Details object for callbacks that use GestureDragStartCallback. [...]
-
DragTarget<
T> - A widget that receives data when a Draggable widget is dropped. [...]
- DragUpdateDetails
- Details object for callbacks that use GestureDragUpdateCallback. [...]
- Drawer
- A material design panel that slides in horizontally from the edge of a Scaffold to show navigation links in an application. [...]
- DrawerController
- Provides interactive behavior for Drawer widgets. [...]
- DrawerControllerState
- State for a DrawerController. [...]
- DrawerHeader
- The top-most region of a material design drawer. The header's child widget, if any, is placed inside a Container whose decoration can be passed as an argument, inset by the given padding. [...]
- DrivenScrollActivity
- An activity that animates a scroll view based on animation parameters. [...]
-
DropdownButton<
T> - A material design button for selecting from a list of items. [...]
-
DropdownButtonFormField<
T> - A convenience widget that wraps a DropdownButton in a FormField.
- DropdownButtonHideUnderline
- An inherited widget that causes any descendant DropdownButton widgets to not include their regular underline. [...]
-
DropdownMenuItem<
T> - An item in a menu created by a DropdownButton. [...]
- EdgeInsets
- An immutable set of offsets in each of the four cardinal directions. [...]
- EdgeInsetsDirectional
- An immutable set of offsets in each of the four cardinal directions, but whose horizontal components are dependent on the writing direction. [...]
- EdgeInsetsGeometry
- Base class for EdgeInsets that allows for text-direction aware resolution. [...]
- EdgeInsetsGeometryTween
- An interpolation between two EdgeInsetsGeometrys. [...]
- EdgeInsetsTween
- An interpolation between two EdgeInsetss. [...]
- EditableText
- A basic text input field. [...]
- EditableTextState
- State for a EditableText.
- ElasticInCurve
- An oscillating curve that grows in magnitude while overshooting its bounds. [...]
- ElasticInOutCurve
- An oscillating curve that grows and then shrinks in magnitude while overshooting its bounds. [...]
- ElasticOutCurve
- An oscillating curve that shrinks in magnitude while overshooting its bounds. [...]
- Element
- An instantiation of a Widget at a particular location in the tree. [...]
- ErrorWidget
- A widget that renders an exception's message. [...]
- ExactAssetImage
- Fetches an image from an AssetBundle, associating it with the given scale. [...]
- ExcludeSemantics
- A widget that drops all the semantics of its descendants. [...]
- Expanded
- A widget that expands a child of a Row, Column, or Flex. [...]
- ExpandIcon
- A widget representing a rotating expand/collapse button. The icon rotates 180 deg when pressed, then reverts the animation on a second press. The underlying icon is Icons.expand_more. [...]
- ExpansionPanel
- A material expansion panel. It has a header and a body and can be either expanded or collapsed. The body of the panel is only visible when it is expanded. [...]
- ExpansionPanelList
- A material expansion panel list that lays out its children and animates expansions. [...]
- ExpansionPanelRadio
- An expansion panel that allows for radio-like functionality. [...]
- ExpansionTile
- A single-line ListTile with a trailing button that expands or collapses the tile to reveal or hide the children. [...]
- FadeInImage
- An image that shows a placeholder image while the target image is loading, then fades in the new image when it loads. [...]
- FadeTransition
- Animates the opacity of a widget. [...]
- FadeUpwardsPageTransitionsBuilder
- Used by PageTransitionsTheme to define a default MaterialPageRoute page transition animation. [...]
- Feedback
- Provides platform-specific acoustic and/or haptic feedback for certain actions. [...]
- FileImage
- Decodes the given File object as an image, associating it with the given scale. [...]
- FilterChip
- A material design filter chip. [...]
- FittedBox
- Scales and positions its child within itself according to fit. [...]
- FittedSizes
- The pair of sizes returned by applyBoxFit.
- FixedColumnWidth
- Sizes the column to a specific number of pixels. [...]
- FixedExtentMetrics
- Metrics for a ScrollPosition to a scroll view with fixed item sizes. [...]
- FixedExtentScrollController
- A controller for scroll views whose items have the same size. [...]
- FixedExtentScrollPhysics
- A snapping physics that always lands directly on items instead of anywhere within the scroll extent. [...]
- FixedScrollMetrics
- An immutable snapshot of values associated with a Scrollable viewport. [...]
- FlatButton
- A material design "flat button". [...]
- Flex
- A widget that displays its children in a one-dimensional array. [...]
- FlexColumnWidth
- Sizes the column by taking a part of the remaining space once all the other columns have been laid out. [...]
- Flexible
- A widget that controls how a child of a Row, Column, or Flex flexes. [...]
- FlexibleSpaceBar
- The part of a material design AppBar that expands and collapses. [...]
- FlexibleSpaceBarSettings
- Provides sizing and opacity information to a FlexibleSpaceBar. [...]
- FlippedCurve
- A curve that is the reversed inversion of its given curve. [...]
- FloatingActionButton
- A material design floating action button. [...]
- FloatingActionButtonAnimator
- Provider of animations to move the FloatingActionButton between FloatingActionButtonLocations. [...]
- FloatingActionButtonLocation
- An object that defines a position for the FloatingActionButton based on the Scaffold's ScaffoldPrelayoutGeometry. [...]
- Flow
- A widget that sizes and positions children efficiently, according to the logic in a FlowDelegate. [...]
- FlowDelegate
- A delegate that controls the appearance of a flow layout. [...]
- FlowPaintingContext
- A context in which a FlowDelegate paints. [...]
- FlutterErrorDetails
- Class for information provided to FlutterExceptionHandler callbacks. [...]
- FlutterLogo
- The Flutter logo, in widget form. This widget respects the IconTheme. [...]
- FlutterLogoDecoration
- An immutable description of how to paint Flutter's logo.
- FocusManager
- Manages the focus tree. [...]
- FocusNode
- A leaf node in the focus tree that can receive focus. [...]
- FocusScope
- Establishes a scope in which widgets can receive focus. [...]
- FocusScopeNode
- An interior node in the focus tree. [...]
- FontWeight
- The thickness of the glyphs used to draw the text
- Form
- An optional container for grouping together multiple form field widgets (e.g. TextField widgets). [...]
-
FormField<
T> - A single form field. [...]
-
FormFieldState<
T> - The current state of a FormField. Passed to the FormFieldBuilder method for use in constructing the form field's widget.
- FormState
- State associated with a Form widget. [...]
- FractionallySizedBox
- A widget that sizes its child to a fraction of the total available space. For more details about the layout algorithm, see RenderFractionallySizedOverflowBox. [...]
- FractionalOffset
- An offset that's expressed as a fraction of a Size. [...]
- FractionalOffsetTween
- An interpolation between two fractional offsets. [...]
- FractionalTranslation
- Applies a translation transformation before painting its child. [...]
- FractionColumnWidth
- Sizes the column to a fraction of the table's constraints' maxWidth. [...]
-
FutureBuilder<
T> - Widget that builds itself based on the latest snapshot of interaction with a Future. [...]
- GestureDetector
- A widget that detects gestures. [...]
-
GestureRecognizerFactory<
T extends GestureRecognizer> - Factory for creating gesture recognizers. [...]
-
GestureRecognizerFactoryWithHandlers<
T extends GestureRecognizer> - Factory for creating gesture recognizers that delegates to callbacks. [...]
-
GlobalKey<
T extends State< StatefulWidget>> - A key that is unique across the entire app. [...]
-
GlobalObjectKey<
T extends State< StatefulWidget>> - A global key that takes its identity from the object used as its value. [...]
- GlowingOverscrollIndicator
- A visual indication that a scroll view has overscrolled. [...]
- Gradient
- A 2D gradient. [...]
- GridPaper
- A widget that draws a rectilinear grid of lines one pixel wide. [...]
- GridTile
- A tile in a material design grid list. [...]
- GridTileBar
- A header used in a material design GridTile. [...]
- GridView
- A scrollable, 2D array of widgets. [...]
- Hero
- A widget that marks its child as being a candidate for hero animations. [...]
- HeroController
- A Navigator observer that manages Hero transitions. [...]
- HoldScrollActivity
- A scroll activity that does nothing but can be released to resume normal idle behavior. [...]
- HSLColor
- A color represented using alpha, hue, saturation, and lightness. [...]
- HSVColor
- A color represented using alpha, hue, saturation, and value. [...]
- Icon
- A graphical icon widget drawn with a glyph from a font described in an IconData such as material's predefined IconDatas in Icons. [...]
- IconButton
- A material design icon button. [...]
- IconData
- A description of an icon fulfilled by a font glyph. [...]
- Icons
- Identifiers for the supported material design icons. [...]
- IconTheme
- Controls the default color, opacity, and size of icons in a widget subtree. [...]
- IconThemeData
- Defines the color, opacity, and size of icons. [...]
- IdleScrollActivity
- A scroll activity that does nothing. [...]
- IgnorePointer
- A widget that is invisible during hit testing. [...]
- Image
- A widget that displays an image. [...]
- ImageCache
- Class for the imageCache object. [...]
- ImageConfiguration
- Configuration information passed to the ImageProvider.resolve method to select a specific image. [...]
- ImageIcon
- An icon that comes from an ImageProvider, e.g. an AssetImage. [...]
- ImageInfo
- A dart:ui.Image object with its corresponding scale. [...]
-
ImageProvider<
T> - Identifies an image without committing to the precise final asset. This allows a set of images to be identified and for the precise image to later be resolved based on the environment, e.g. the device pixel ratio. [...]
- ImageShader
- A shader (as used by Paint.shader) that tiles an image.
- ImageStream
- A handle to an image resource. [...]
- ImageStreamCompleter
- Base class for those that manage the loading of dart:ui.Image objects for ImageStreams. [...]
- ImplicitlyAnimatedWidget
- An abstract widget for building widgets that gradually change their values over a period of time. [...]
-
ImplicitlyAnimatedWidgetState<
T extends ImplicitlyAnimatedWidget> - A base class for widgets with implicit animations. [...]
- IndexedSemantics
- A widget that annotates the child semantics with an index. [...]
- IndexedStack
- A Stack that shows a single child from a list of children. [...]
- InheritedElement
- An Element that uses an InheritedWidget as its configuration.
-
InheritedModel<
T> - An InheritedWidget that's intended to be used as the base class for models whose dependents may only depend on one part or "aspect" of the overall model. [...]
-
InheritedModelElement<
T> - An Element that uses a InheritedModel as its configuration.
-
InheritedNotifier<
T extends Listenable> - An inherited widget for a Listenable notifier, which updates its dependencies when the notifier is triggered. [...]
- InheritedWidget
- Base class for widgets that efficiently propagate information down the tree. [...]
- Ink
- A convenience widget for drawing images and other decorations on Material widgets, so that InkWell and InkResponse splashes will render over them. [...]
- InkDecoration
- A decoration on a part of a Material. [...]
- InkFeature
- A visual reaction on a piece of Material. [...]
- InkHighlight
- A visual emphasis on a part of a Material receiving user interaction. [...]
- InkResponse
- An area of a Material that responds to touch. Has a configurable shape and can be configured to clip splashes that extend outside its bounds or not. [...]
- InkRipple
- A visual reaction on a piece of Material to user input. [...]
- InkSplash
- A visual reaction on a piece of Material to user input. [...]
- InkWell
- A rectangular area of a Material that responds to touch. [...]
- InputBorder
- Defines the appearance of an InputDecorator's border. [...]
- InputChip
- A material design input chip. [...]
- InputDecoration
- The border, labels, icons, and styles used to decorate a Material Design text field. [...]
- InputDecorationTheme
- Defines the default appearance of InputDecorators. [...]
- InputDecorator
- Defines the appearance of a Material Design text field. [...]
- InspectorSelection
- Mutable selection state of the inspector.
- InteractiveInkFeature
- An ink feature that displays a color "splash" in response to a user gesture that can be confirmed or canceled. [...]
- InteractiveInkFeatureFactory
- An encapsulation of an InteractiveInkFeature constructor used by InkWell, InkResponse, and ThemeData. [...]
- Interval
- A curve that is 0.0 until begin, then curved (according to curve from 0.0 to 1.0 at end, then 1.0. [...]
- IntrinsicColumnWidth
- Sizes the column according to the intrinsic dimensions of all the cells in that column. [...]
- IntrinsicHeight
- A widget that sizes its child to the child's intrinsic height. [...]
- IntrinsicWidth
- A widget that sizes its child to the child's intrinsic width. [...]
- IntTween
- An interpolation between two integers that rounds. [...]
- KeepAlive
- Mark a child as needing to stay alive even when it's in a lazy list that would otherwise remove it. [...]
- KeepAliveHandle
- A Listenable which can be manually triggered. [...]
- KeepAliveNotification
- Indicates that the subtree through which this notification bubbles must be kept alive even if it would normally be discarded as an optimization. [...]
- Key
- A Key is an identifier for Widgets, Elements and SemanticsNodes. [...]
- KeyedSubtree
- A widget that builds its child. [...]
-
LabeledGlobalKey<
T extends State< StatefulWidget>> - A global key with a debugging label. [...]
- LayerLink
- An object that a LeaderLayer can register with. [...]
- LayoutBuilder
- Builds a widget tree that can depend on the parent widget's size. [...]
- LayoutChangedNotification
- Indicates that the layout of one of the descendants of the object receiving this notification has changed in some way, and that therefore any assumptions about that layout are no longer valid. [...]
- LayoutId
- Metadata for identifying children in a CustomMultiChildLayout. [...]
- LeafRenderObjectElement
- An Element that uses a LeafRenderObjectWidget as its configuration.
- LeafRenderObjectWidget
- A superclass for RenderObjectWidgets that configure RenderObject subclasses that have no children.
- LicensePage
- A page that shows licenses for software used by the application. [...]
- LimitedBox
- A box that limits its size only when it's unconstrained. [...]
- LinearGradient
- A 2D linear gradient. [...]
- LinearProgressIndicator
- A material design linear progress indicator, also known as a progress bar. [...]
- ListBody
- A widget that arranges its children sequentially along a given axis, forcing them to the dimension of the parent in the other axis. [...]
- Listenable
- An object that maintains a list of listeners. [...]
- Listener
- A widget that calls callbacks in response to pointer events. [...]
- ListTile
- A single fixed-height row that typically contains some text as well as a leading or trailing icon. [...]
- ListTileTheme
- An inherited widget that defines color and style parameters for ListTiles in this widget's subtree. [...]
- ListView
- A scrollable list of widgets arranged linearly. [...]
- ListWheelChildBuilderDelegate
- A delegate that supplies children for ListWheelScrollView using a builder callback. [...]
- ListWheelChildDelegate
- A delegate that supplies children for ListWheelScrollView. [...]
- ListWheelChildListDelegate
- A delegate that supplies children for ListWheelScrollView using an explicit list. [...]
- ListWheelChildLoopingListDelegate
- A delegate that supplies infinite children for ListWheelScrollView by looping an explicit list. [...]
- ListWheelElement
- Element that supports building children lazily for ListWheelViewport.
- ListWheelScrollView
- A box in which children on a wheel can be scrolled. [...]
- ListWheelViewport
- A viewport showing a subset of children on a wheel. [...]
- Locale
- An identifier used to select a user's language and formatting preferences. [...]
- LocalHistoryEntry
- An entry in the history of a LocalHistoryRoute.
- Localizations
-
Defines the Locale for its
child
and the localized resources that the child depends on. [...] -
LocalizationsDelegate<
T> -
A factory for a set of localized resources of type
T
, to be loaded by a Localizations widget. [...] - LocalKey
- A key that is not a GlobalKey. [...]
-
LongPressDraggable<
T> - Makes its child draggable starting from long press.
- MaskFilter
- A mask filter to apply to shapes as they are painted. A mask filter is a function that takes a bitmap of color pixels, and returns another bitmap of color pixels. [...]
- Material
- A piece of material. [...]
- MaterialAccentColor
- Defines a single accent color as well a swatch of four shades of the accent color. [...]
- MaterialApp
- An application that uses material design. [...]
- MaterialButton
- A utility class for building Material buttons that depend on the ambient ButtonTheme and Theme. [...]
- MaterialColor
- Defines a single color as well a color swatch with ten shades of the color. [...]
- MaterialGap
- A class that represents a gap within MergeableMaterial. [...]
- MaterialInkController
- An interface for creating InkSplashs and InkHighlights on a material. [...]
- MaterialLocalizations
- Defines the localized resource values used by the Material widgets. [...]
-
MaterialPageRoute<
T> - A modal route that replaces the entire screen with a platform-adaptive transition. [...]
- MaterialPointArcTween
- A Tween that interpolates an Offset along a circular arc. [...]
- MaterialRectArcTween
- A Tween that interpolates a Rect by having its opposite corners follow circular arcs. [...]
- MaterialRectCenterArcTween
- A Tween that interpolates a Rect by moving it along a circular arc from begin's Rect.center to end's Rect.center while interpolating the rectangle's width and height. [...]
- MaterialSlice
- A class that can be used as a child to MergeableMaterial. It is a slice of Material that animates merging with other slices. [...]
- Matrix4
- 4D Matrix. Values are stored in column major order.
- Matrix4Tween
- An interpolation between two Matrix4s. [...]
- MatrixUtils
- Utility functions for working with matrices.
- MaxColumnWidth
- Sizes the column such that it is the size that is the maximum of two column width specifications. [...]
- MediaQuery
- Establishes a subtree in which media queries resolve to the given data. [...]
- MediaQueryData
- Information about a piece of media (e.g., a window). [...]
- MemoryImage
- Decodes the given Uint8List buffer as an image, associating it with the given scale. [...]
- MergeableMaterial
- Displays a list of MergeableMaterialItem children. The list contains MaterialSlice items whose boundaries are either "merged" with adjacent items or separated by a MaterialGap. The children are distributed along the given mainAxis in the same way as the children of a ListBody. When the list of children changes, gaps are automatically animated open or closed as needed. [...]
- MergeableMaterialItem
- The base type for MaterialSlice and MaterialGap. [...]
- MergeSemantics
- A widget that merges the semantics of its descendants. [...]
- MetaData
- Holds opaque meta data in the render tree. [...]
- MinColumnWidth
- Sizes the column such that it is the size that is the minimum of two column width specifications. [...]
- ModalBarrier
- A widget that prevents the user from interacting with widgets behind itself. [...]
-
ModalRoute<
T> - A route that blocks interaction with previous routes. [...]
- MonthPicker
- A scrollable list of months to allow picking a month. [...]
- MultiChildLayoutDelegate
- A delegate that controls the layout of multiple children. [...]
- MultiChildRenderObjectElement
- An Element that uses a MultiChildRenderObjectWidget as its configuration. [...]
- MultiChildRenderObjectWidget
- A superclass for RenderObjectWidgets that configure RenderObject subclasses that have a single list of children. (This superclass only provides the storage for that child list, it doesn't actually provide the updating logic.)
- MultiFrameImageStreamCompleter
- Manages the decoding and scheduling of image frames. [...]
- NavigationToolbar is a layout helper to position 3 widgets or groups of widgets along a horizontal axis that's sensible for an application's navigation bar such as in Material Design and in iOS. [...]
- A widget that manages a set of child widgets with a stack discipline. [...]
- An interface for observing the behavior of a Navigator.
- The state for a Navigator widget.
- NestedScrollView
- A scrolling view inside of which can be nested other scrolling views, with their scroll positions being intrinsically linked. [...]
- NestedScrollViewViewport
- The Viewport variant used by NestedScrollView. [...]
- NetworkImage
- Fetches the given URL from the network, associating it with the given scale. [...]
- NeverScrollableScrollPhysics
- Scroll physics that does not allow the user to scroll. [...]
- NotchedShape
- A shape with a notch in its outline. [...]
- Notification
- A notification that can bubble up the widget tree. [...]
-
NotificationListener<
T extends Notification> - A widget that listens for Notifications bubbling up the tree. [...]
- ObjectKey
- A key that takes its identity from the object used as its value. [...]
- Offset
- An immutable 2D floating-point offset. [...]
- Offstage
- A widget that lays the child out as if it was in the tree, but without painting anything, without making the child available for hit testing, and without taking any room in the parent. [...]
- OneFrameImageStreamCompleter
- Manages the loading of dart:ui.Image objects for static ImageStreams (those with only one frame).
- Opacity
- A widget that makes its child partially transparent. [...]
- OpenUpwardsPageTransitionsBuilder
- Used by PageTransitionsTheme to define a vertical MaterialPageRoute page transition animation that looks like the default page transition used on Android P. [...]
- OrientationBuilder
- Builds a widget tree that can depend on the parent widget's orientation (distinct from the device orientation). [...]
- OutlineButton
- A cross between RaisedButton and FlatButton: a bordered button whose elevation increases and whose background becomes opaque when the button is pressed. [...]
- OutlineInputBorder
- Draws a rounded rectangle around an InputDecorator's container. [...]
- OverflowBox
- A widget that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent. [...]
- Overlay
- A Stack of entries that can be managed independently. [...]
- OverlayEntry
- A place in an Overlay that can contain a widget. [...]
-
OverlayRoute<
T> - A route that displays widgets in the Navigator's Overlay.
- OverlayState
- The current state of an Overlay. [...]
- OverscrollIndicatorNotification
- A notification that an GlowingOverscrollIndicator will start showing an overscroll indication. [...]
- OverscrollNotification
- A notification that a Scrollable widget has not changed its scroll position because the change would have caused its scroll position to go outside of its scroll bounds. [...]
- Padding
- A widget that insets its child by the given padding. [...]
- PaddleSliderValueIndicatorShape
- This is the default shape to a Slider's value indicator if no other shape is specified. [...]
- PageController
- A controller for PageView. [...]
- PageMetrics
- Metrics for a PageView. [...]
-
PageRoute<
T> - A modal route that replaces the entire screen.
-
PageRouteBuilder<
T> - A utility class for defining one-off page routes in terms of callbacks. [...]
- PageScrollPhysics
- Scroll physics used by a PageView. [...]
- PageStorage
- A widget that establishes a page storage bucket for this widget subtree.
- PageStorageBucket
- A storage bucket associated with a page in an app. [...]
-
PageStorageKey<
T> - A ValueKey that defines where PageStorage values will be saved. [...]
- PageTransitionsBuilder
- Used by PageTransitionsTheme to define a MaterialPageRoute page transition animation. [...]
- PageTransitionsTheme
- Defines the page transition animations used by MaterialPageRoute for different TargetPlatforms. [...]
- PageView
- A scrollable list that works page by page. [...]
- PaginatedDataTable
- A material design data table that shows data using multiple pages. [...]
- PaginatedDataTableState
- Holds the state of a PaginatedDataTable. [...]
- Paint
- A description of the style to use when drawing on a Canvas. [...]
- PaintingContext
- A place to paint. [...]
-
ParentDataElement<
T extends RenderObjectWidget> - An Element that uses a ParentDataWidget as its configuration.
-
ParentDataWidget<
T extends RenderObjectWidget> - Base class for widgets that hook ParentData information to children of RenderObjectWidgets. [...]
- Path
- A complex, one-dimensional subset of a plane. [...]
- PerformanceOverlay
- Displays performance statistics. [...]
-
PersistentBottomSheetController<
T> - A ScaffoldFeatureController for persistent bottom sheets. [...]
- PhysicalModel
- A widget representing a physical layer that clips its children to a shape. [...]
- PhysicalShape
- A widget representing a physical layer that clips its children to a path. [...]
- Placeholder
- A widget that draws a box that represents where other widgets will one day be added. [...]
- PointerCancelEvent
- The input from the pointer is no longer directed towards this receiver.
- PointerDownEvent
- The pointer has made contact with the device.
- PointerEvent
- Base class for touch, stylus, or mouse events. [...]
- PointerMoveEvent
- The pointer has moved with respect to the device while the pointer is in contact with the device. [...]
- PointerUpEvent
- The pointer has stopped making contact with the device.
-
PopupMenuButton<
T> - Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected. The value passed to onSelected is the value of the selected menu item. [...]
- PopupMenuDivider
- A horizontal divider in a material design popup menu. [...]
-
PopupMenuEntry<
T> - A base class for entries in a material design popup menu. [...]
-
PopupMenuItem<
T> - An item in a material design popup menu. [...]
-
PopupMenuItemState<
T, W extends PopupMenuItem< T>> - The State for PopupMenuItem subclasses. [...]
-
PopupRoute<
T> - A modal route that overlays a widget over the current route.
- Positioned
- A widget that controls where a child of a Stack is positioned. [...]
- PositionedDirectional
- A widget that controls where a child of a Stack is positioned without committing to a specific TextDirection. [...]
- PositionedTransition
- Animated version of Positioned which takes a specific Animation<RelativeRect> to transition the child's position from a start position to an end position over the lifetime of the animation. [...]
- PreferredSize
- A widget with a preferred size. [...]
- PreferredSizeWidget
- An interface for widgets that can return the size this widget would prefer if it were otherwise unconstrained. [...]
- PrimaryScrollController
- Associates a ScrollController with a subtree. [...]
- ProgressIndicator
- A base class for material design progress indicators. [...]
- ProxyAnimation
- An animation that is a proxy for another animation. [...]
- ProxyElement
- An Element that uses a ProxyWidget as its configuration.
- ProxyWidget
- A widget that has a child widget provided to it, instead of building a new widget. [...]
- RadialGradient
- A 2D radial gradient. [...]
-
Radio<
T> - A material design radio button. [...]
-
RadioListTile<
T> - A ListTile with a Radio. In other words, a radio button with a label. [...]
- Radius
- A radius for either circular or elliptical shapes.
- RaisedButton
- A material design "raised button". [...]
- RawChip
- A raw material design chip. [...]
- RawGestureDetector
- A widget that detects gestures described by the given gesture factories. [...]
- RawGestureDetectorState
- State for a RawGestureDetector.
- RawImage
- A widget that displays a dart:ui.Image directly. [...]
- RawKeyboardListener
- A widget that calls a callback whenever the user presses or releases a key on a keyboard. [...]
- RawKeyEvent
- Base class for raw key events. [...]
- RawMaterialButton
- Creates a button based on Semantics, Material, and InkWell widgets. [...]
- Rect
- An immutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin. [...]
- RectTween
- An interpolation between two rectangles. [...]
- RefreshIndicator
- A widget that supports the Material "swipe to refresh" idiom. [...]
- RefreshIndicatorState
- Contains the state for a RefreshIndicator. This class can be used to programmatically show the refresh indicator, see the show method.
- RefreshProgressIndicator
- An indicator for the progress of refreshing the contents of a widget. [...]
- RelativePositionedTransition
- Animated version of Positioned which transitions the child's position based on the value of rect relative to a bounding box with the specified size. [...]
- RelativeRect
- An immutable 2D, axis-aligned, floating-point rectangle whose coordinates are given relative to another rectangle's edges, known as the container. Since the dimensions of the rectangle are relative to those of the container, this class has no width and height members. To determine the width or height of the rectangle, convert it to a Rect using toRect() (passing the container's own Rect), and then examine that object. [...]
- RelativeRectTween
- An interpolation between two relative rects. [...]
- RenderBox
- A render object in a 2D Cartesian coordinate system. [...]
- RenderNestedScrollViewViewport
- The RenderViewport variant used by NestedScrollView. [...]
- RenderObject
- An object in the render tree. [...]
- RenderObjectElement
- An Element that uses a RenderObjectWidget as its configuration. [...]
-
RenderObjectToWidgetAdapter<
T extends RenderObject> - A bridge from a RenderObject to an Element tree. [...]
-
RenderObjectToWidgetElement<
T extends RenderObject> - A RootRenderObjectElement that is hosted by a RenderObject. [...]
- RenderObjectWidget
- RenderObjectWidgets provide the configuration for RenderObjectElements, which wrap RenderObjects, which provide the actual rendering of the application.
- RenderSliverOverlapAbsorber
- A sliver that wraps another, forcing its layout extent to be treated as overlap. [...]
- RenderSliverOverlapInjector
- A sliver that has a sliver geometry based on the values stored in a SliverOverlapAbsorberHandle. [...]
- RenderToggleable
- A base class for material style toggleable controls with toggle animations. [...]
- ReorderableListView
- A list whose items the user can interactively reorder by dragging. [...]
- RepaintBoundary
- A widget that creates a separate display list for its child. [...]
- ReverseAnimation
- An animation that is the reverse of another animation. [...]
-
ReverseTween<
T> - A Tween that evaluates its parent in reverse.
- RichText
- A paragraph of rich text. [...]
- RootRenderObjectElement
- The element at the root of the tree. [...]
- RotatedBox
- A widget that rotates its child by a integral number of quarter turns. [...]
- RotationTransition
- Animates the rotation of a widget. [...]
- RoundedRectangleBorder
- A rectangular border with rounded corners. [...]
- RoundSliderThumbShape
- This is the default shape to a Slider's thumb if no other shape is specified. [...]
-
Route<
T> - An abstraction for an entry managed by a Navigator. [...]
- RouteAware
- An interface for objects that are aware of their current Route. [...]
-
RouteObserver<
R extends Route> - A Navigator observer that notifies RouteAwares of changes to the state of their Route. [...]
- RouteSettings
- Data that might be useful in constructing a Route.
- Row
- A widget that displays its children in a horizontal array. [...]
- RRect
- An immutable rounded rectangle with the custom radii for all four corners.
- RSTransform
- A transform consisting of a translation, a rotation, and a uniform scale. [...]
- SafeArea
- A widget that insets its child by sufficient padding to avoid intrusions by the operating system. [...]
- SawTooth
- A sawtooth curve that repeats a given number of times over the unit interval. [...]
- Scaffold
- Implements the basic material design visual layout structure. [...]
-
ScaffoldFeatureController<
T extends Widget, U> - An interface for controlling a feature of a Scaffold. [...]
- ScaffoldGeometry
- Geometry information for Scaffold components after layout is finished. [...]
- ScaffoldPrelayoutGeometry
- The geometry of the Scaffold after all its contents have been laid out except the FloatingActionButton. [...]
- ScaffoldState
- State for a Scaffold. [...]
- ScaleEndDetails
- Details for GestureScaleEndCallback.
- ScaleStartDetails
- Details for GestureScaleStartCallback.
- ScaleTransition
- Animates the scale of a transformed widget. [...]
- ScaleUpdateDetails
- Details for GestureScaleUpdateCallback.
- Scrollable
- A widget that scrolls. [...]
- ScrollableState
- State object for a Scrollable widget. [...]
- ScrollActivity
- Base class for scrolling activities like dragging and flinging. [...]
- ScrollActivityDelegate
- A backend for a ScrollActivity. [...]
- Scrollbar
- A material design scrollbar. [...]
- ScrollbarPainter
- A CustomPainter for painting scrollbars. [...]
- ScrollBehavior
- Describes how Scrollable widgets should behave. [...]
- ScrollConfiguration
- Controls how Scrollable widgets behave in a subtree. [...]
- ScrollContext
- An interface that Scrollable widgets implement in order to use ScrollPosition. [...]
- ScrollController
- Controls a scrollable widget. [...]
- ScrollDragController
- Scrolls a scroll view as the user drags their finger across the screen. [...]
- ScrollEndNotification
- A notification that a Scrollable widget has stopped scrolling. [...]
- ScrollHoldController
- Interface for holding a Scrollable stationary. [...]
- ScrollMetrics
- A description of a Scrollable's contents, useful for modeling the state of its viewport. [...]
- ScrollNotification
- A Notification related to scrolling. [...]
- ScrollPhysics
- Determines the physics of a Scrollable widget. [...]
- ScrollPosition
- Determines which portion of the content is visible in a scroll view. [...]
- ScrollPositionWithSingleContext
- A scroll position that manages scroll activities for a single ScrollContext. [...]
- ScrollSpringSimulation
- A SpringSimulation where the value of x is guaranteed to have exactly the end value when the simulation isDone().
- ScrollStartNotification
- A notification that a Scrollable widget has started scrolling. [...]
- ScrollUpdateNotification
- A notification that a Scrollable widget has changed its scroll position. [...]
- ScrollView
- A widget that scrolls. [...]
-
SearchDelegate<
T> - Delegate for showSearch to define the content of the search page. [...]
- SelectableChipAttributes
- An interface for material design chips that can be selected. [...]
- Semantics
- A widget that annotates the widget tree with a description of the meaning of the widgets. [...]
- SemanticsDebugger
- A widget that visualizes the semantics for the child. [...]
- Shader
- Base class for objects such as Gradient and ImageShader which correspond to shaders as used by Paint.shader.
- ShaderMask
- A widget that applies a mask generated by a Shader to its child. [...]
- Shadow
- A single shadow. [...]
- ShapeBorder
- Base class for shape outlines. [...]
- ShapeBorderClipper
- A CustomClipper that clips to the outer path of a ShapeBorder.
- ShapeBorderTween
- An interpolation between two ShapeBorders. [...]
- ShapeDecoration
- An immutable description of how to paint an arbitrary shape. [...]
- ShrinkWrappingViewport
- A widget that is bigger on the inside and shrink wraps its children in the main axis. [...]
- SimpleDialog
- A simple material design dialog. [...]
- SimpleDialogOption
- An option used in a SimpleDialog. [...]
- Simulation
- The base class for all simulations. [...]
- SingleChildLayoutDelegate
- A delegate for computing the layout of a render object with a single child. [...]
- SingleChildRenderObjectElement
- An Element that uses a SingleChildRenderObjectWidget as its configuration. [...]
- SingleChildRenderObjectWidget
- A superclass for RenderObjectWidgets that configure RenderObject subclasses that have a single child slot. (This superclass only provides the storage for that child, it doesn't actually provide the updating logic.)
- SingleChildScrollView
- A box in which a single widget can be scrolled. [...]
- Size
- Holds a 2D floating-point size. [...]
- SizeChangedLayoutNotification
- Indicates that the size of one of the descendants of the object receiving this notification has changed, and that therefore any assumptions about that layout are no longer valid. [...]
- SizeChangedLayoutNotifier
- A widget that automatically dispatches a SizeChangedLayoutNotification when the layout dimensions of its child change. [...]
- SizedBox
- A box with a specified size. [...]
- SizedOverflowBox
- A widget that is a specific size but passes its original constraints through to its child, which may then overflow. [...]
- SizeTransition
- Animates its own size and clips and aligns its child. [...]
- SizeTween
- An interpolation between two sizes. [...]
- Slider
- A Material Design slider. [...]
- SliderComponentShape
- Base class for slider thumb and value indicator shapes. [...]
- SliderTheme
- Applies a slider theme to descendant Slider widgets. [...]
- SliderThemeData
- Holds the color, shape, and typography values for a material design slider theme. [...]
- SlideTransition
- Animates the position of a widget relative to its normal position. [...]
- SliverAppBar
- A material design app bar that integrates with a CustomScrollView. [...]
- SliverChildBuilderDelegate
- A delegate that supplies children for slivers using a builder callback. [...]
- SliverChildDelegate
- A delegate that supplies children for slivers. [...]
- SliverChildListDelegate
- A delegate that supplies children for slivers using an explicit list. [...]
- SliverFillRemaining
- A sliver that contains a single box child that fills the remaining space in the viewport. [...]
- SliverFillViewport
- A sliver that contains a multiple box children that each fill the viewport. [...]
- SliverFixedExtentList
- A sliver that places multiple box children with the same main axis extent in a linear array. [...]
- SliverGrid
- A sliver that places multiple box children in a two dimensional arrangement. [...]
- SliverGridDelegate
- Controls the layout of tiles in a grid. [...]
- SliverGridDelegateWithFixedCrossAxisCount
- Creates grid layouts with a fixed number of tiles in the cross axis. [...]
- SliverGridDelegateWithMaxCrossAxisExtent
- Creates grid layouts with tiles that each have a maximum cross-axis extent. [...]
- SliverList
- A sliver that places multiple box children in a linear array along the main axis. [...]
- SliverMultiBoxAdaptorElement
- An element that lazily builds children for a SliverMultiBoxAdaptorWidget. [...]
- SliverMultiBoxAdaptorWidget
- A base class for sliver that have multiple box children. [...]
- SliverOverlapAbsorber
- A sliver that wraps another, forcing its layout extent to be treated as overlap. [...]
- SliverOverlapAbsorberHandle
- Handle to provide to a SliverOverlapAbsorber, a SliverOverlapInjector, and an NestedScrollViewViewport, to shift overlap in a NestedScrollView. [...]
- SliverOverlapInjector
- A sliver that has a sliver geometry based on the values stored in a SliverOverlapAbsorberHandle. [...]
- SliverPadding
- A sliver that applies padding on each side of another sliver. [...]
- SliverPersistentHeader
- A sliver whose size varies when the sliver is scrolled to the leading edge of the viewport. [...]
- SliverPersistentHeaderDelegate
- Delegate for configuring a SliverPersistentHeader.
- SliverPrototypeExtentList
- A sliver that places its box children in a linear array and constrains them to have the same extent as a prototype item along the main axis. [...]
- SliverSafeArea
- A sliver that insets another sliver by sufficient padding to avoid intrusions by the operating system. [...]
- SliverToBoxAdapter
- A sliver that contains a single box widget. [...]
- SliverWithKeepAliveWidget
- A base class for sliver that have KeepAlive children.
- SnackBar
- A lightweight message with an optional action which briefly displays at the bottom of the screen. [...]
- SnackBarAction
- A button for a SnackBar, known as an "action". [...]
- Spacer
- Spacer creates an adjustable, empty spacer that can be used to tune the spacing between widgets in a Flex container, like Row or Column. [...]
- Stack
- A widget that positions its children relative to the edges of its box. [...]
- StadiumBorder
- A border that fits a stadium-shaped border (a box with semicircles on the ends) within the rectangle of the widget it is applied to. [...]
-
State<
T extends StatefulWidget> - The logic and internal state for a StatefulWidget. [...]
- StatefulBuilder
- A platonic widget that both has state and calls a closure to obtain its child widget. [...]
- StatefulElement
- An Element that uses a StatefulWidget as its configuration.
- StatefulWidget
- A widget that has mutable state. [...]
- StatelessElement
- An Element that uses a StatelessWidget as its configuration.
- StatelessWidget
- A widget that does not require mutable state. [...]
- StatusTransitionWidget
- A widget that rebuilds when the given animation changes status.
- Step
- A material step used in Stepper. The step can have a title and subtitle, an icon within its circle, some content and a state that governs its styling. [...]
- Stepper
- A material stepper widget that displays progress through a sequence of steps. Steppers are particularly useful in the case of forms where one step requires the completion of another one, or where multiple steps need to be completed in order to submit the whole form. [...]
- StepTween
- An interpolation between two integers that floors. [...]
-
StreamBuilder<
T> - Widget that builds itself based on the latest snapshot of interaction with a Stream. [...]
-
StreamBuilderBase<
T, S> - Base class for widgets that build themselves based on interaction with a specified Stream. [...]
- SweepGradient
- A 2D sweep gradient. [...]
- Switch
- A material design switch. [...]
- SwitchListTile
- A ListTile with a Switch. In other words, a switch with a label. [...]
- Tab
- A material design TabBar tab. If both icon and text are provided, the text is displayed below the icon. [...]
- TabBar
- A material design widget that displays a horizontal row of tabs. [...]
- TabBarTheme
- Defines a theme for TabBar widgets. [...]
- TabBarView
- A page view that displays the widget which corresponds to the currently selected tab. Typically used in conjunction with a TabBar. [...]
- TabController
- Coordinates tab selection between a TabBar and a TabBarView. [...]
- Table
- A widget that uses the table layout algorithm for its children. [...]
- TableBorder
- Border specification for Table widgets. [...]
- TableCell
- A widget that controls how a child of a Table is aligned. [...]
- TableColumnWidth
- Base class to describe how wide a column in a RenderTable should be. [...]
- TableRow
- A horizontal group of cells in a Table. [...]
- TableRowInkWell
- A rectangular area of a Material that responds to touch but clips its ink splashes to the current table row of the nearest table. [...]
- TabPageSelector
- Displays a row of small circular indicators, one per tab. The selected tab's indicator is highlighted. Often used in conjunction with a TabBarView. [...]
- TabPageSelectorIndicator
- Displays a single circle with the specified border and background colors. [...]
- TapDownDetails
- Details for GestureTapDownCallback, such as position. [...]
- TappableChipAttributes
- An interface for material design chips that can be tapped. [...]
- TapUpDetails
- Details for GestureTapUpCallback, such as position. [...]
- Text
- A run of text with a single style. [...]
- TextBox
- A rectangle enclosing a run of text. [...]
- TextDecoration
- A linear decoration to draw near the text.
- TextEditingController
- A controller for an editable text field. [...]
- TextEditingValue
- The current text, selection, and composing state for editing a run of text.
- TextField
- A material design text field. [...]
- TextFormField
- A FormField that contains a TextField. [...]
- TextInputType
- The type of information for which to optimize the text input control. [...]
- TextPainter
- An object that paints a TextSpan tree into a Canvas. [...]
- TextPosition
- A visual position in a string of text.
- TextRange
- A range of characters in a string of text.
- TextSelection
- A range of text that represents a selection.
- TextSelectionControls
- An interface for building the selection UI, to be provided by the implementor of the toolbar widget. [...]
- TextSelectionDelegate
- An interface for manipulating the selection, to be used by the implementor of the toolbar widget.
- TextSelectionOverlay
- An object that manages a pair of text selection handles. [...]
- TextSpan
- An immutable span of text. [...]
- TextStyle
- An immutable style in which paint text. [...]
- TextStyleTween
- An interpolation between two TextStyles. [...]
- TextTheme
- Material design text theme. [...]
- Texture
- A rectangle upon which a backend texture is mapped. [...]
- Theme
- Applies a theme to descendant widgets. [...]
- ThemeData
- Holds the color and typography values for a material design theme. [...]
- ThemeDataTween
- An interpolation between two ThemeDatas. [...]
- Threshold
- A curve that is 0.0 until it hits the threshold, then it jumps to 1.0. [...]
- TickerFuture
- An object representing an ongoing Ticker sequence. [...]
- TickerMode
- Enables or disables tickers (and thus animation controllers) in the widget subtree. [...]
- TickerProvider
- An interface implemented by classes that can vend Ticker objects. [...]
- TimeOfDay
- A value representing a time during the day, independent of the date that day might fall on or the time zone. [...]
- Title
- A widget that describes this app in the operating system.
- Tolerance
- Structure that specifies maximum allowable magnitudes for distances, durations, and velocity differences to be considered equal.
- Tooltip
- A material design tooltip. [...]
- TrackingScrollController
- A ScrollController whose initialScrollOffset tracks its most recently updated ScrollPosition. [...]
- TrainHoppingAnimation
- This animation starts by proxying one animation, but when the value of that animation crosses the value of the second (either because the second is going in the opposite direction, or because the one overtakes the other), the animation hops over to proxying the second animation. [...]
- Transform
- A widget that applies a transformation before painting its child. [...]
- TransformProperty
- Property which handles Matrix4 that represent transforms.
-
TransitionRoute<
T> - A route with entrance and exit transitions.
-
Tween<
T extends dynamic> - A linear interpolation between a beginning and ending value. [...]
-
TweenSequence<
T> - Enables creating an Animation whose value is defined by a sequence of Tweens. [...]
-
TweenSequenceItem<
T> - A simple holder for one element of a TweenSequence.
- TwoLevelList
- This class is deprecated. Please use ListView and ListTileTheme instead.
- TwoLevelListItem
- This class is deprecated. Please use ListTile instead.
- TwoLevelSublist
- This class is deprecated. Please use ExpansionTile instead.
-
TypeMatcher<
T> - This class is a work-around for the "is" operator not accepting a variable value as its right operand
- Typography
-
The color and geometry
TextThemes
for Material apps. [...] - UiKitView
- Embeds an iOS view in the Widget hierarchy. [...]
- UnconstrainedBox
- A widget that imposes no constraints on its child, allowing it to render at its "natural" size. [...]
- UnderlineInputBorder
- Draws a horizontal line at the bottom of an InputDecorator's container and defines the container's shape. [...]
- UnderlineTabIndicator
- Used with TabBar.indicator to draw a horizontal line below the selected tab. [...]
- UniqueKey
-
This widget can only have one child. To lay out multiple children, let this
widget's child be a widget such as Row, Column, or Stack, which have a
children
property, and then provide the children to that widget.A key that is only equal to itself. -
UniqueWidget<
T extends State< StatefulWidget>> - Base class for stateful widgets that have exactly one inflated instance in the tree. [...]
- UserAccountsDrawerHeader
- A material design Drawer header that identifies the app's user. [...]
- UserScrollNotification
- A notification that the user has changed the direction in which they are scrolling. [...]
-
ValueKey<
T> - A key that uses a value of a particular type to identify itself. [...]
-
ValueListenableBuilder<
T> - A widget whose content stays sync'ed with a ValueListenable. [...]
-
ValueNotifier<
T> - A ChangeNotifier that holds a single value. [...]
- Velocity
- A velocity in two dimensions.
- VerticalDivider
- A one device pixel thick vertical line, with padding on either side. [...]
- Viewport
- A widget that is bigger on the inside. [...]
- Visibility
- Whether to show or hide a child. [...]
- Widget
- Describes the configuration for an Element. [...]
- WidgetInspector
- A widget that enables inspecting the child widget's structure. [...]
- WidgetsApp
- A convenience class that wraps a number of widgets that are commonly required for an application. [...]
- WidgetsBindingObserver
- Interface for classes that register with the Widgets layer binding. [...]
- WidgetsFlutterBinding
- A concrete binding for applications based on the Widgets framework. [...]
- WidgetsLocalizations
- Interface for localized resource values for the lowest levels of the Flutter framework. [...]
- WidgetToRenderBoxAdapter
- An adapter for placing a specific RenderBox in the widget tree. [...]
- WillPopScope
- Registers a callback to veto attempts by the user to dismiss the enclosing ModalRoute. [...]
- Wrap
- A widget that displays its children in multiple horizontal or vertical runs. [...]
- YearPicker
- A scrollable list of years to allow picking a year. [...]
Mixins
- AnimationEagerListenerMixin
- A mixin that replaces the didRegisterListener/didUnregisterListener contract with a dispose contract. [...]
- AnimationLazyListenerMixin
- A mixin that helps listen to another object only when this object has registered listeners. [...]
- AnimationLocalListenersMixin
- A mixin that implements the addListener/removeListener protocol and notifies all the registered listeners when notifyListeners is called. [...]
- AnimationLocalStatusListenersMixin
- A mixin that implements the addStatusListener/removeStatusListener protocol and notifies all the registered listeners when notifyStatusListeners is called. [...]
-
AnimationWithParentMixin<
T> - Implements most of the Animation interface by deferring its behavior to a given parent Animation. [...]
-
AutomaticKeepAliveClientMixin<
T extends StatefulWidget> - A mixin with convenience methods for clients of AutomaticKeepAlive. Used with State subclasses. [...]
-
LocalHistoryRoute<
T> - A mixin used by routes to handle back navigations internally by popping a list. [...]
- MaterialButtonWithIconMixin
- The type of MaterialButtons created with RaisedButton.icon, FlatButton.icon, and OutlineButton.icon. [...]
- PaintingBinding
- Binding for the painting library. [...]
-
SingleTickerProviderStateMixin<
T extends StatefulWidget> - Provides a single Ticker that is configured to only tick while the current tree is enabled, as defined by TickerMode. [...]
-
TickerProviderStateMixin<
T extends StatefulWidget> - Provides Ticker objects that are configured to only tick while the current tree is enabled, as defined by TickerMode. [...]
- ViewportNotificationMixin
- Mixin for Notifications that track how many RenderAbstractViewport they have bubbled through. [...]
- WidgetInspectorService
- Service used by GUI tools to interact with the WidgetInspector. [...]
- WidgetsBinding
- The glue between the widgets layer and the Flutter engine.
Constants
- immutable → const Immutable
-
Used to annotate a class
C
. Indicates thatC
and all subtypes ofC
must be immutable. [...]const Immutable()
-
kAlwaysCompleteAnimation
→ const Animation<
double> -
An animation that is always complete. [...]
const _AlwaysCompleteAnimation()
-
kAlwaysDismissedAnimation
→ const Animation<
double> -
An animation that is always dismissed. [...]
const _AlwaysDismissedAnimation()
-
The height of the bottom navigation bar.
56.0
-
kElevationToShadow
→ const Map<
int, List< BoxShadow>> -
Map of elevation offsets used by material design to BoxShadow definitions. [...]
_elevationToShadow
- kFloatingActionButtonMargin → const double
-
The margin that a FloatingActionButton should leave between it and the
edge of the screen. [...]
16.0
- kFloatingActionButtonSegue → const Duration
-
The amount of time the FloatingActionButton takes to transition in or out. [...]
const Duration(milliseconds: 200)
- kFloatingActionButtonTurnInterval → const double
-
The fraction of a circle the FloatingActionButton should turn when it enters. [...]
0.125
- kMaterialListPadding → const EdgeInsets
-
The padding added around material list items.
const EdgeInsets.symmetric(vertical: 8.0)
- kRadialReactionAlpha → const int
-
The value of the alpha channel to use when drawing a circular material ink response.
31
- kRadialReactionDuration → const Duration
-
The amount of time a circular material ink response should take to expand to its full size.
const Duration(milliseconds: 100)
- kRadialReactionRadius → const double
-
The radius of a circular material ink response in logical pixels.
20.0
- kTabLabelPadding → const EdgeInsets
-
The horizontal padding included by Tabs.
const EdgeInsets.symmetric(horizontal: 16.0)
- kTabScrollDuration → const Duration
-
The duration of the horizontal scroll animation that occurs when a tab is tapped.
const Duration(milliseconds: 300)
- kTextTabBarHeight → const double
-
The height of a tab bar containing text.
48.0
- kThemeAnimationDuration → const Duration
-
The duration over which theme changes animate by default.
const Duration(milliseconds: 200)
- kThemeChangeDuration → const Duration
-
The amount of time theme change animations should last.
const Duration(milliseconds: 200)
- kToolbarHeight → const double
-
The height of the toolbar component of the AppBar.
56.0
- mustCallSuper → const _MustCallSuper
-
Used to annotate an instance method
m
. Indicates that every invocation of a method that overridesm
must also invokem
. In addition, every method that overridesm
is implicitly annotated with this same annotation. [...]const _MustCallSuper()
- optionalTypeArgs → const _OptionalTypeArgs
-
Used to annotate a class declaration
C
. Indicates that any type arguments declared onC
are to be treated as optional. Tools such as the analyzer and linter can use this information to suppress warnings that would otherwise require type arguments to be provided for instances ofC
.const _OptionalTypeArgs()
- protected → const _Protected
-
Used to annotate an instance member (method, getter, setter, operator, or
field)
m
in a classC
. If the annotation is on a field it applies to the getter, and setter if appropriate, that are induced by the field. Indicates thatm
should only be invoked from instance methods ofC
or classes that extend, implement or mix inC
, either directly or indirectly. Additionally indicates thatm
should only be invoked onthis
, whether explicitly or implicitly. [...]const _Protected()
- required → const Required
-
Used to annotate a named parameter
p
in a method or functionf
. Indicates that every invocation off
must include an argument corresponding top
, despite the fact thatp
would otherwise be an optional parameter. [...]const Required()
- visibleForTesting → const _VisibleForTesting
-
Used to annotate a declaration was made public, so that it is more visible
than otherwise necessary, to make code testable. [...]
const _VisibleForTesting()
Properties
- debugDisableShadows ↔ bool
-
Whether to replace all shadows with solid color blocks. [...]
read / write
- debugHighlightDeprecatedWidgets ↔ bool
-
Show banners for deprecated widgets.
read / write
- debugOnRebuildDirtyWidget ↔ RebuildDirtyWidgetCallback
-
Callback invoked for every dirty widget built each frame. [...]
read / write
- debugPrint ↔ DebugPrintCallback
-
Prints a message to the console, which you can access using the "flutter"
tool's "logs" command ("flutter logs"). [...]
read / write
- debugPrintBuildScope ↔ bool
-
Log all calls to BuildOwner.buildScope. [...]
read / write
- debugPrintGlobalKeyedWidgetLifecycle ↔ bool
-
Log when widgets with global keys are deactivated and log when they are
reactivated (retaken). [...]
read / write
- debugPrintRebuildDirtyWidgets ↔ bool
-
Log the dirty widgets that are built each frame. [...]
read / write
- debugPrintScheduleBuildForStacks ↔ bool
-
Log the call stacks that mark widgets as needing to be rebuilt. [...]
read / write
- debugProfileBuildsEnabled ↔ bool
-
Adds Timeline events for every Widget built. [...]
read / write
- imageCache → ImageCache
-
The singleton that implements the Flutter framework's image cache. [...]
read-only
-
kListTileExtent
↔ Map<
MaterialListType, double> -
This constant is deprecated. The ListTile class sizes itself based on
its content and ListTileTheme.
read / write
-
kMaterialEdges
→ Map<
MaterialType, BorderRadius> -
The border radii used by the various kinds of material in material design. [...]
final
- materialTextSelectionControls → TextSelectionControls
-
Text selection controls that follow the Material Design specification.
final
Functions
-
applyBoxFit(
BoxFit fit, Size inputSize, Size outputSize) → FittedSizes - Apply a BoxFit value. [...]
-
axisDirectionIsReversed(
AxisDirection axisDirection) → bool - Returns whether travelling along the given axis direction visits coordinates along that axis in numerically decreasing order. [...]
-
axisDirectionToAxis(
AxisDirection axisDirection) → Axis - Returns the Axis that contains the given AxisDirection. [...]
-
createLocalImageConfiguration(
BuildContext context, { Size size }) → ImageConfiguration - Creates an ImageConfiguration based on the given BuildContext (and optionally size). [...]
-
debugAssertAllPaintingVarsUnset(
String reason, { bool debugDisableShadowsOverride: false }) → bool - Returns true if none of the painting library debug variables have been changed. [...]
-
debugAssertAllWidgetVarsUnset(
String reason) → bool - Returns true if none of the widget library debug variables have been changed. [...]
-
debugCheckHasDirectionality(
BuildContext context) → bool - Asserts that the given context has a Directionality ancestor. [...]
-
debugCheckHasMaterial(
BuildContext context) → bool - Asserts that the given context has a Material ancestor. [...]
-
debugCheckHasMaterialLocalizations(
BuildContext context) → bool - Asserts that the given context has a Localizations ancestor that contains a MaterialLocalizations delegate. [...]
-
debugCheckHasMediaQuery(
BuildContext context) → bool - Asserts that the given context has a MediaQuery ancestor. [...]
-
debugCheckHasTable(
BuildContext context) → bool - Asserts that the given context has a Table ancestor. [...]
-
debugChildrenHaveDuplicateKeys(
Widget parent, Iterable< Widget> children) → bool - Asserts if the given child list contains any duplicate non-null keys. [...]
-
debugDescribeTransform(
Matrix4 transform) → List< String> - Returns a list of strings representing the given transform in a format useful for TransformProperty. [...]
-
debugDumpApp(
) → void - Print a string representation of the currently running app.
-
debugDumpLayerTree(
) → void - Prints a textual representation of the entire layer tree.
-
debugDumpRenderTree(
) → void - Prints a textual representation of the entire render tree.
-
debugItemsHaveDuplicateKeys(
Iterable< Widget> items) → bool - Asserts if the given list of items contains any duplicate non-null keys. [...]
-
debugPrintStack(
{String label, int maxFrames }) → void - Dump the current stack to the console using debugPrint and FlutterError.defaultStackFilter. [...]
-
debugWidgetBuilderValue(
Widget widget, Widget built) → void -
Asserts that the
built
widget is not null. [...] -
decodeImageFromList(
Uint8List list) → Future< Image> - Creates an image from a list of bytes. [...]
-
defaultScrollNotificationPredicate(
ScrollNotification notification) → bool -
A ScrollNotificationPredicate that checks whether
notification.depth == 0
, which means that the notification did not bubble through any intervening scrolling widgets. -
flipAxis(
Axis direction) → Axis - Returns the opposite of the given Axis. [...]
-
flipAxisDirection(
AxisDirection axisDirection) → AxisDirection - Returns the opposite of the given AxisDirection. [...]
-
getAxisDirectionFromAxisReverseAndDirectionality(
BuildContext context, Axis axis, bool reverse) → AxisDirection -
Returns the AxisDirection in the given Axis in the current
Directionality (or the reverse if
reverse
is true). [...] -
hashList(
Iterable< Object> arguments) → int - Combine the Object.hashCode values of an arbitrary number of objects from an Iterable into one value. This function will return the same value if given null as if given an empty list.
-
hashValues(
Object arg01, Object arg02, [ Object arg03 = _hashEnd, Object arg04 = _hashEnd, Object arg05 = _hashEnd, Object arg06 = _hashEnd, Object arg07 = _hashEnd, Object arg08 = _hashEnd, Object arg09 = _hashEnd, Object arg10 = _hashEnd, Object arg11 = _hashEnd, Object arg12 = _hashEnd, Object arg13 = _hashEnd, Object arg14 = _hashEnd, Object arg15 = _hashEnd, Object arg16 = _hashEnd, Object arg17 = _hashEnd, Object arg18 = _hashEnd, Object arg19 = _hashEnd, Object arg20 = _hashEnd ]) → int - Combine up to twenty objects' hash codes into one value. [...]
-
hourFormat(
{TimeOfDayFormat of }) → HourFormat - The HourFormat used for the given TimeOfDayFormat.
-
paintBorder(
Canvas canvas, Rect rect, { BorderSide top: BorderSide.none, BorderSide right: BorderSide.none, BorderSide bottom: BorderSide.none, BorderSide left: BorderSide.none }) → void - Paints a border around the given rectangle on the canvas. [...]
-
paintImage(
{Canvas canvas, Rect rect, Image image, double scale: 1.0, ColorFilter colorFilter, BoxFit fit, Alignment alignment: Alignment.center, Rect centerSlice, ImageRepeat repeat: ImageRepeat.noRepeat, bool flipHorizontally: false, bool invertColors: false, FilterQuality filterQuality: FilterQuality.low }) → void - Paints an image into the given rectangle on the canvas. [...]
-
paintZigZag(
Canvas canvas, Paint paint, Offset start, Offset end, int zigs, double width) → void - Draw a line between two points, which cuts diagonally back and forth across the line that connects the two points. [...]
-
positionDependentBox(
{Size size, Size childSize, Offset target, bool preferBelow, double verticalOffset: 0.0, double margin: 10.0 }) → Offset - Position a child box within a container box, either above or below a target point. [...]
-
precacheImage(
ImageProvider provider, BuildContext context, { Size size, ImageErrorListener onError }) → Future< void> - Prefetches an image into the image cache. [...]
-
runApp(
Widget app) → void - Inflate the given widget and attach it to the screen. [...]
-
showAboutDialog(
{BuildContext context, String applicationName, String applicationVersion, Widget applicationIcon, String applicationLegalese, List< Widget> children }) → void - Displays an AboutDialog, which describes the application and provides a button to show licenses for software used by the application. [...]
-
showBottomSheet<
T>( {BuildContext context, WidgetBuilder builder }) → PersistentBottomSheetController< T> - Shows a persistent material design bottom sheet in the nearest Scaffold. [...]
-
showDatePicker(
{BuildContext context, DateTime initialDate, DateTime firstDate, DateTime lastDate, SelectableDayPredicate selectableDayPredicate, DatePickerMode initialDatePickerMode: DatePickerMode.day, Locale locale, TextDirection textDirection }) → Future< DateTime> - Shows a dialog containing a material design date picker. [...]
-
showDialog<
T>( {BuildContext context, bool barrierDismissible: true, Widget child, WidgetBuilder builder }) → Future< T> - Displays a Material dialog above the current contents of the app, with Material entrance and exit animations, modal barrier color, and modal barrier behavior (dialog is dismissible with a tap on the barrier). [...]
-
showGeneralDialog<
T>( {BuildContext context, RoutePageBuilder pageBuilder, bool barrierDismissible, String barrierLabel, Color barrierColor, Duration transitionDuration, RouteTransitionsBuilder transitionBuilder }) → Future< T> - Displays a dialog above the current contents of the app. [...]
-
showLicensePage(
{BuildContext context, String applicationName, String applicationVersion, Widget applicationIcon, String applicationLegalese }) → void - Displays a LicensePage, which shows licenses for software used by the application. [...]
-
showMenu<
T>( {BuildContext context, RelativeRect position, List< PopupMenuEntry< T>> items, T initialValue, double elevation: 8.0, String semanticLabel }) → Future< T> -
Show a popup menu that contains the
items
atposition
. [...] -
showModalBottomSheet<
T>( {BuildContext context, WidgetBuilder builder }) → Future< T> - Shows a modal material design bottom sheet. [...]
-
showSearch<
T>( {BuildContext context, SearchDelegate< T> delegate, String query: '' }) → Future< T> - Shows a full screen search page and returns the search result selected by the user when the page is closed. [...]
-
showTimePicker(
{BuildContext context, TimeOfDay initialTime }) → Future< TimeOfDay> - Shows a dialog containing a material design time picker. [...]
-
textDirectionToAxisDirection(
TextDirection textDirection) → AxisDirection - Returns the AxisDirection in which reading occurs in the given TextDirection. [...]
Enums
- AnimationBehavior
- Configures how an AnimationController behaves when animations are disabled. [...]
- AnimationStatus
- The status of an animation
- AppLifecycleState
- States that an application can be in. [...]
- Axis
- The two cardinal directions in two dimensions. [...]
- AxisDirection
- A direction along either the horizontal or vertical Axis.
- BannerLocation
- Where to show a Banner. [...]
- BlendMode
- Algorithms to use when painting on the canvas. [...]
- BlurStyle
- Styles to use for blurs in MaskFilter objects.
- BorderStyle
- The style of line to draw for a BorderSide in a Border.
- Defines the layout and behavior of a BottomNavigationBar. [...]
- BoxFit
- How a box should be inscribed into another box. [...]
- BoxShape
- The shape to use when rendering a Border or BoxDecoration. [...]
- Brightness
- Describes the contrast needs of a color.
- ButtonBarLayoutBehavior
- Used with ButtonTheme and ButtonThemeData to define how the button bar should size itself with either constraints or internal padding.
- ButtonTextTheme
- Used with ButtonTheme and ButtonThemeData to define a button's base colors, and the defaults for the button's minimum size, internal padding, and shape. [...]
- Clip
- Different ways to clip a widget's content.
- CollapseMode
- The collapsing effect while the space bar expands or collapses.
- ConnectionState
- The state of connection to an asynchronous computation. [...]
- CrossAxisAlignment
- How the children should be placed along the cross axis in a flex layout. [...]
- CrossFadeState
- Specifies which of two children to show. See AnimatedCrossFade. [...]
- DatePickerMode
- Initial display mode of the date picker dialog. [...]
- DayPeriod
- Whether the TimeOfDay is before or after noon.
- DecorationPosition
- Where to paint a box decoration.
- DiagnosticLevel
- The various priority levels used to filter which diagnostics are shown and omitted. [...]
- DismissDirection
- The direction in which a Dismissible can be dismissed.
- DragAnchor
- Where the Draggable should be anchored during a drag.
- DrawerAlignment
- The possible alignments of a Drawer.
- FadeInImagePhase
- The phases a FadeInImage goes through.
- FilterQuality
- Quality levels for image filters. [...]
- FlexFit
- How the child is inscribed into the available space. [...]
- FlutterLogoStyle
- Possible ways to draw Flutter's logo.
- FontStyle
- Whether to slant the glyphs in the font
- GrowthDirection
- The direction in which a sliver's contents are ordered, relative to the scroll offset axis. [...]
- HeroFlightDirection
- Direction of the hero's flight based on the navigation operation.
- HitTestBehavior
- How to behave during hit tests.
- HourFormat
- Describes how hours are formatted.
- ImageRepeat
- How to paint any portions of a box not covered by an image.
- ListTileControlAffinity
- Where to place the control in widgets that use ListTile to position a control next to a label. [...]
- ListTileStyle
- Defines the title font used for ListTile descendants of a ListTileTheme. [...]
- MainAxisAlignment
- How the children should be placed along the main axis in a flex layout. [...]
- MainAxisSize
- How much space should be occupied in the main axis. [...]
- MaterialListType
- This enum is deprecated. Please use ListTileTheme instead.
- MaterialTapTargetSize
- Configures the tap target and layout size of certain Material widgets. [...]
- MaterialType
- The various kinds of material in material design. Used to configure the default behavior of Material widgets. [...]
- Orientation
- Whether in portrait or landscape.
- Overflow
- Whether overflowing children should be clipped, or their overflow be visible.
- PaintingStyle
- Strategies for painting shapes and paths on a canvas. [...]
- PathFillType
- Determines the winding rule that decides how the interior of a Path is calculated. [...]
- PathOperation
- Strategies for combining paths. [...]
- RenderComparison
- The description of the difference between two objects, in the context of how it will affect the rendering. [...]
- RoutePopDisposition
- Indicates whether the current route should be popped. [...]
- ScriptCategory
- A characterization of the of a TextTheme's glyphs that is used to define its localized TextStyle geometry for ThemeData.textTheme. [...]
- SelectionChangedCause
- Indicates what triggered the change in selected text (including changes to the cursor location).
- ShowValueIndicator
- Describes the conditions under which the value indicator on a Slider will be shown. Used with SliderThemeData.showValueIndicator. [...]
- SnackBarClosedReason
- Specify how a SnackBar was closed. [...]
- StackFit
- How to size the non-positioned children of a Stack. [...]
- StepperType
- Defines the Stepper's main axis.
- StepState
- The state of a Step which is used to control the style of the circle and text. [...]
- StrokeCap
- Styles to use for line endings. [...]
- StrokeJoin
- Styles to use for line segment joins. [...]
- TabBarIndicatorSize
- Defines how the bounds of the selected tab indicator are computed. [...]
- TableCellVerticalAlignment
- Vertical alignment options for cells in RenderTable objects. [...]
- TargetPlatform
- The platform that user interaction should adapt to target. [...]
- TextAffinity
- Whether a TextPosition is visually upstream or downstream of its offset. [...]
- TextAlign
- Whether and how to align text horizontally.
- TextBaseline
- A horizontal line used for aligning text.
- TextCapitalization
- Configures how the platform keyboard will select an uppercase or lowercase keyboard. [...]
- TextDecorationStyle
- The style in which to draw a text decoration
- TextDirection
- A direction in which text flows. [...]
- TextInputAction
- An action the user has requested the text input control to perform. [...]
- TextOverflow
- How overflowing text should be handled.
- TextSelectionHandleType
- Which type of selection handle to be displayed. [...]
- TileMode
- Defines what happens at the edge of the gradient. [...]
- TimeOfDayFormat
- Determines how the time picker invoked using showTimePicker formats and lays out the time controls. [...]
- VertexMode
- Defines how a list of points is interpreted when drawing a set of triangles. [...]
- VerticalDirection
- A direction in which boxes flow vertically. [...]
- WrapAlignment
- How Wrap should align objects. [...]
- WrapCrossAlignment
- Who Wrap should align children within a run in the cross axis.
Typedefs
-
AnimatedCrossFadeBuilder(
Widget topChild, Key topChildKey, Widget bottomChild, Key bottomChildKey) → Widget - Signature for the AnimatedCrossFade.layoutBuilder callback. [...]
-
AnimatedListItemBuilder(
BuildContext context, int index, Animation< double> animation) → Widget - Signature for the builder callback used by AnimatedList.
-
AnimatedListRemovedItemBuilder(
BuildContext context, Animation< double> animation) → Widget - Signature for the builder callback used by AnimatedListState.removeItem.
-
AnimatedSwitcherLayoutBuilder(
Widget currentChild, List< Widget> previousChildren) → Widget - Signature for builders used to generate custom layouts for AnimatedSwitcher. [...]
-
AnimatedSwitcherTransitionBuilder(
Widget child, Animation< double> animation) → Widget - Signature for builders used to generate custom transitions for AnimatedSwitcher. [...]
-
AnimationStatusListener(
AnimationStatus status) → void - Signature for listeners attached using Animation.addStatusListener.
-
AsyncWidgetBuilder<
T>( BuildContext context, AsyncSnapshot< T> snapshot) → Widget - Signature for strategies that build widgets based on asynchronous interaction. [...]
-
ControlsWidgetBuilder(
BuildContext context, { VoidCallback onStepContinue, VoidCallback onStepCancel }) → Widget -
A builder that creates a widget given the two callbacks
onStepContinue
andonStepCancel
. [...] -
CreateRectTween(
Rect begin, Rect end) → Tween< Rect> - Signature for a function that takes two Rect instances and returns a RectTween that transitions between them. [...]
-
DataColumnSortCallback(
int columnIndex, bool ascending) → void - Signature for DataColumn.onSort callback.
-
DismissDirectionCallback(
DismissDirection direction) → void -
Signature used by Dismissible to indicate that it has been dismissed in
the given
direction
. [...] -
DragEndCallback(
DraggableDetails details) → void - Signature for when the draggable is dropped. [...]
-
DraggableCanceledCallback(
Velocity velocity, Offset offset) → void - Signature for when a Draggable is dropped without being accepted by a DragTarget. [...]
-
DragTargetAccept<
T>( T data) → void - Signature for causing a DragTarget to accept the given data. [...]
-
DragTargetBuilder<
T>( BuildContext context, List< T> candidateData, List rejectedData) → Widget - Signature for building children of a DragTarget. [...]
-
DragTargetLeave<
T>( T data) → void - Signature for when a Draggable leaves a DragTarget. [...]
-
DragTargetWillAccept<
T>( T data) → bool - Signature for determining whether the given data will be accepted by a DragTarget. [...]
-
DrawerCallback(
bool isOpened) → void - Signature for the callback that's called when a DrawerController is opened or closed.
-
ElementVisitor(
Element element) → void - Signature for the callback to BuildContext.visitChildElements. [...]
-
ErrorWidgetBuilder(
FlutterErrorDetails details) → Widget - Signature for the constructor that is called when an error occurs while building a widget. [...]
-
ExpansionPanelCallback(
int panelIndex, bool isExpanded) → void - Signature for the callback that's called when an ExpansionPanel is expanded or collapsed. [...]
-
ExpansionPanelHeaderBuilder(
BuildContext context, bool isExpanded) → Widget - Signature for the callback that's called when the header of the ExpansionPanel needs to rebuild.
-
FormFieldBuilder<
T>( FormFieldState< T> field) → Widget - Signature for building the widget representing the form field. [...]
-
FormFieldSetter<
T>( T newValue) → void - Signature for being notified when a form field changes value. [...]
-
FormFieldValidator<
T>( T value) → String - Signature for validating a form field. [...]
-
GenerateAppTitle(
BuildContext context) → String - The signature of WidgetsApp.onGenerateTitle. [...]
-
GestureDragCancelCallback(
) → void - Signature for when the pointer that previously triggered a GestureDragDownCallback did not complete. [...]
-
GestureDragDownCallback(
DragDownDetails details) → void - Signature for when a pointer has contacted the screen and might begin to move. [...]
-
GestureDragEndCallback(
DragEndDetails details) → void - Signature for when a pointer that was previously in contact with the screen and moving is no longer in contact with the screen. [...]
-
GestureDragStartCallback(
DragStartDetails details) → void - Signature for when a pointer has contacted the screen and has begun to move. [...]
-
GestureDragUpdateCallback(
DragUpdateDetails details) → void - Signature for when a pointer that is in contact with the screen and moving has moved again. [...]
-
GestureLongPressCallback(
) → void - Signature for when a pointer has remained in contact with the screen at the same location for a long period of time.
-
GestureRecognizerFactoryConstructor<
T extends GestureRecognizer>( ) → T - Signature for closures that implement GestureRecognizerFactory.constructor.
-
GestureRecognizerFactoryInitializer<
T extends GestureRecognizer>( T instance) → void - Signature for closures that implement GestureRecognizerFactory.initializer.
-
GestureScaleEndCallback(
ScaleEndDetails details) → void - Signature for when the pointers are no longer in contact with the screen.
-
GestureScaleStartCallback(
ScaleStartDetails details) → void - Signature for when the pointers in contact with the screen have established a focal point and initial scale of 1.0.
-
GestureScaleUpdateCallback(
ScaleUpdateDetails details) → void - Signature for when the pointers in contact with the screen have indicated a new focal point and/or scale.
-
GestureTapCallback(
) → void - Signature for when a tap has occurred. [...]
-
GestureTapCancelCallback(
) → void - Signature for when the pointer that previously triggered a GestureTapDownCallback will not end up causing a tap. [...]
-
GestureTapDownCallback(
TapDownDetails details) → void - Signature for when a pointer that might cause a tap has contacted the screen. [...]
-
GestureTapUpCallback(
TapUpDetails details) → void - Signature for when a pointer that will trigger a tap has stopped contacting the screen. [...]
-
HeroFlightShuttleBuilder(
BuildContext flightContext, Animation< double> animation, HeroFlightDirection flightDirection, BuildContext fromHeroContext, BuildContext toHeroContext) → Widget - A function that lets Heros self supply a Widget that is shown during the hero's flight from one route to another instead of default (which is to show the destination route's instance of the Hero).
-
ImageErrorListener(
dynamic exception, StackTrace stackTrace) → void - Signature for reporting errors when resolving images. [...]
-
ImageListener(
ImageInfo image, bool synchronousCall) → void - Signature for callbacks reporting that an image is available. [...]
-
IndexedWidgetBuilder(
BuildContext context, int index) → Widget - Signature for a function that creates a widget for a given index, e.g., in a list. [...]
-
InspectorSelectButtonBuilder(
BuildContext context, VoidCallback onPressed) → Widget - Signature for the builder callback used by WidgetInspector.selectButtonBuilder.
-
InspectorSelectionChangedCallback(
) → void - Signature for the selection change callback used by WidgetInspectorService.selectionChangedCallback.
-
LayoutWidgetBuilder(
BuildContext context, BoxConstraints constraints) → Widget - The signature of the LayoutBuilder builder function.
-
LocaleListResolutionCallback(
List< Locale> locales, Iterable< Locale> supportedLocales) → Locale - The signature of WidgetsApp.localeListResolutionCallback. [...]
-
LocaleResolutionCallback(
Locale locale, Iterable< Locale> supportedLocales) → Locale - The signature of WidgetsApp.localeResolutionCallback. [...]
-
NestedScrollViewHeaderSliversBuilder(
BuildContext context, bool innerBoxIsScrolled) → List< Widget> - Signature used by NestedScrollView for building its header. [...]
-
NotificationListenerCallback<
T extends Notification>( T notification) → bool - Signature for Notification listeners. [...]
-
OrientationWidgetBuilder(
BuildContext context, Orientation orientation) → Widget - Signature for a function that builds a widget given an Orientation. [...]
-
PageRouteFactory(
RouteSettings settings, WidgetBuilder builder) → PageRoute - The signature of WidgetsApp.pageRouteBuilder. [...]
-
PointerCancelEventListener(
PointerCancelEvent event) → void - Signature for listening to PointerCancelEvent events. [...]
-
PointerDownEventListener(
PointerDownEvent event) → void - Signature for listening to PointerDownEvent events. [...]
-
PointerMoveEventListener(
PointerMoveEvent event) → void - Signature for listening to PointerMoveEvent events. [...]
-
PointerUpEventListener(
PointerUpEvent event) → void - Signature for listening to PointerUpEvent events. [...]
-
PopupMenuCanceled(
) → void - Signature for the callback invoked when a PopupMenuButton is dismissed without selecting an item. [...]
-
PopupMenuItemBuilder<
T>( BuildContext context) → List< PopupMenuEntry< T>> - Signature used by PopupMenuButton to lazily construct the items shown when the button is pressed. [...]
-
PopupMenuItemSelected<
T>( T value) → void - Signature for the callback invoked when a menu item is selected. The argument is the value of the PopupMenuItem that caused its menu to be dismissed. [...]
-
RebuildDirtyWidgetCallback(
Element e, bool builtOnce) → void - Signature for debugOnRebuildDirtyWidget implementations.
-
RectCallback(
) → Rect - Signature for the callback used by ink effects to obtain the rectangle for the effect. [...]
-
RefreshCallback(
) → Future< void> - The signature for a function that's called when the user has dragged a RefreshIndicator far enough to demonstrate that they want the app to refresh. The returned Future must complete when the refresh operation is finished. [...]
-
ReorderCallback(
int oldIndex, int newIndex) → void - The callback used by ReorderableListView to move an item to a new position in a list. [...]
-
RouteFactory(
RouteSettings settings) → Route - Creates a route for the given route settings. [...]
-
RoutePageBuilder(
BuildContext context, Animation< double> animation, Animation< double> secondaryAnimation) → Widget - Signature for the function that builds a route's primary contents. Used in PageRouteBuilder and showGeneralDialog. [...]
-
RoutePredicate(
Route route) → bool - Signature for the Navigator.popUntil predicate argument.
-
RouteTransitionsBuilder(
BuildContext context, Animation< double> animation, Animation< double> secondaryAnimation, Widget child) → Widget - Signature for the function that builds a route's transitions. Used in PageRouteBuilder and showGeneralDialog. [...]
-
ScrollNotificationPredicate(
ScrollNotification notification) → bool - A predicate for ScrollNotification, used to customize widgets that listen to notifications from their children.
-
SelectableDayPredicate(
DateTime day) → bool - Signature for predicating dates for enabled date selections. [...]
-
SelectionChangedCallback(
TextSelection selection, SelectionChangedCause cause) → void - Signature for the callback that reports when the user changes the selection (including the cursor location).
-
SemanticFormatterCallback(
double value) → String - A callback that formats a numeric value from a Slider widget. [...]
-
SemanticIndexCallback(
Widget widget, int localIndex) → int - A callback which produces a semantic index given a widget and the local index. [...]
-
SemanticsBuilderCallback(
Size size) → List< CustomPainterSemantics> - Signature of the function returned by CustomPainter.semanticsBuilder. [...]
-
ShaderCallback(
Rect bounds) → Shader - Signature for a function that creates a Shader for a given Rect. [...]
-
StatefulWidgetBuilder(
BuildContext context, StateSetter setState) → Widget - Signature for the builder callback used by StatefulBuilder. [...]
-
StateSetter(
VoidCallback fn) → void - The signature of State.setState functions.
-
TextSelectionOverlayChanged(
TextEditingValue value, Rect caretRect) → void -
Signature for reporting changes to the selection component of a
TextEditingValue for the purposes of a TextSelectionOverlay. The
caretRect
argument gives the location of the caret in the coordinate space of the RenderBox given by the TextSelectionOverlay.renderObject. [...] -
TransitionBuilder(
BuildContext context, Widget child) → Widget - A builder that builds a widget given a child. [...]
-
TweenConstructor<
T>( T targetValue) → Tween< T> - Signature for a Tween factory. [...]
-
TweenVisitor<
T>( Tween< T> tween, T targetValue, TweenConstructor< T> constructor) → Tween< T> - Signature for callbacks passed to AnimatedWidgetBaseState.forEachTween.
-
ValueChanged<
T>( T value) → void - Signature for callbacks that report that an underlying value has changed. [...]
-
ValueGetter<
T>( ) → T - Signature for callbacks that are to report a value on demand. [...]
-
ValueSetter<
T>( T value) → void - Signature for callbacks that report that a value has been set. [...]
-
ValueWidgetBuilder<
T>( BuildContext context, T value, Widget child) → Widget - Builds a Widget when given a concrete value of a ValueListenable<T>. [...]
-
ViewportBuilder(
BuildContext context, ViewportOffset position) → Widget - Signature used by Scrollable to build the viewport through which the scrollable content is displayed.
-
VoidCallback(
) → void - Signature of callbacks that have no arguments and return no data.
-
WidgetBuilder(
BuildContext context) → Widget - Signature for a function that creates a widget, e.g. StatelessWidget.build or State.build. [...]
-
WillPopCallback(
) → Future< bool> - Signature for a callback that verifies that it's OK to call Navigator.pop. [...]
Exceptions / Errors
- FlutterError
- Error class used to report Flutter-specific assertion failures and contract violations.
- TickerCanceled
- Exception thrown by Ticker objects on the TickerFuture.orCancel future when the ticker is canceled.