Results for “Widget”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Widgets and the widget lifecycle3.47.7widgets
widget is an immutable description of part of the UI. Flutter turns the widget tree into a longer-lived element tree and a render tree; when
- Testing3.47.7testing
tests (package:test) for plain Dart logic, widget tests (flutter_test: testWidgets, WidgetTester, find, matchers) that build real widgets in a fast headless environment, and integration
Guides
- Layouts in Flutterdoc
build your app's layout. Overview Layouts in Flutter are built with widgets. Widgets are classes used to build UIs. Widgets are also used
- Add interactivity to your Flutter appdoc
implement a stateful widget that responds to taps. How to respond to taps. How to create a custom widget. The difference between stateless and stateful widgets
- Flutter architectural overviewdoc
A high-level overview of the architecture of Flutter, including the core
- Understanding Flutter's keyboard focus systemdoc
How to use the focus system in your Flutter app. This article
- An introduction to widget testingdoc
test() function. The Finder classes allow searching for widgets in the test environment. Widget-specific Matcher constants help verify whether a Finder locates a widget
- Create widgetsdoc
Learn about stateless widgets and how to build your own. Learn to create custom widgets and use the most common SDK widgets like Container, Center
- Understanding constraintsdoc
Flutter's model for widget constraints, sizing, positioning, and how they interact. you might check out [Common Flutter errors][]. When someone learning Flutter asks you why some
- Hero animationsdoc
animate a widget to fly between two screens. The hero refers to the widget that flies between screens. Create a hero animation using Flutter's Hero
API reference
- Widgetclass
Describes the configuration for an Element. widgets.Widget Widget Widget class widgets
- WidgetInspectorclass
widget that enables inspecting the child widget's structure. widgets.WidgetInspector WidgetInspector Widget Inspector class widgets
- WidgetsAppclass
wraps a number of widgets that are commonly required for an application. widgets.WidgetsApp WidgetsApp Widgets App class widgets
- WidgetStateMapperclass
Uses a WidgetStateMap to resolve to a single value of type T based on the current set of Widget states. widgets.WidgetStateMapper WidgetStateMapper Widget State Mapper class
- WidgetStateColorclass
Defines a Color that is also a WidgetStateProperty. widgets.WidgetStateColor WidgetStateColor Widget State Color class widgets
- WidgetStatePropertyclass
widget's interactive "state", which is defined as a set of WidgetStates. widgets.WidgetStateProperty WidgetStateProperty Widget State Property class widgets
- WidgetSpanclass
immutable widget that is embedded inline within text. widgets.WidgetSpan WidgetSpan Widget Span class widgets
- WidgetStateTextStyleclass
Defines a TextStyle that is also a WidgetStateProperty. widgets.WidgetStateTextStyle WidgetStateTextStyle Widget State Text Style class widgets
- WidgetsFlutterBindingclass
concrete binding for applications based on the Widgets framework. widgets.WidgetsFlutterBinding WidgetsFlutterBinding Widgets Flutter Binding class widgets
- WidgetStatesControllerclass
Manages a set of WidgetStates and notifies listeners of changes. widgets.WidgetStatesController WidgetStatesController Widget States Controller class widgets
- WidgetsBindingObserverclass
Interface for classes that register with the Widgets layer binding. widgets.WidgetsBindingObserver WidgetsBindingObserver Widgets Binding Observer class widgets
- WidgetToRenderBoxAdapterclass
adapter for placing a specific RenderBox in the widget tree. widgets.WidgetToRenderBoxAdapter WidgetToRenderBoxAdapter Widget To Render Box Adapter class widgets
- WidgetStatePropertyAllclass
Convenience class for creating a WidgetStateProperty that resolves to the given value for all states. widgets.WidgetStatePropertyAll WidgetStatePropertyAll Widget State Property All class widgets
- WidgetOrderTraversalPolicyclass
FocusTraversalPolicy that traverses the focus order in widget hierarchy order. widgets.WidgetOrderTraversalPolicy WidgetOrderTraversalPolicy Widget Order Traversal Policy class widgets
- WidgetStateMouseCursorclass
Defines a MouseCursor whose value depends on a set of WidgetStates which represent the interactive state of a component. widgets.WidgetStateMouseCursor WidgetStateMouseCursor Widget State Mouse Cursor class widgets
- WidgetStateBorderSideclass
Defines a BorderSide whose value depends on a set of WidgetStates which represent the interactive state of a component. widgets.WidgetStateBorderSide WidgetStateBorderSide Widget State Border Side class widgets
- WidgetStateOutlinedBorderclass
Defines an OutlinedBorder whose value depends on a set of WidgetStates which represent the interactive state of a component. widgets.WidgetStateOutlinedBorder WidgetStateOutlinedBorder Widget State Outlined Border class widgets
- WidgetStateInputBorderclass
Defines an InputBorder that is also a WidgetStateProperty. material.WidgetStateInputBorder WidgetStateInputBorder Widget State Input Border class material
- WidgetsLocalizationsclass
Interface for localized resource values for the lowest levels of the Flutter framework. widgets.WidgetsLocalizations WidgetsLocalizations Widgets Localizations class widgets
- WidgetStateBorderSide.fromMapconstructor
Creates a WidgetStateBorderSide from a WidgetStateMap. widgets.WidgetStateBorderSide.WidgetStateBorderSide.fromMap WidgetStateBorderSide fromMap Widget State Border Side.from Map constructor widgets
- WidgetStateColor.fromMapconstructor
Creates a WidgetStateColor from a WidgetStateMap<Color>. widgets.WidgetStateColor.WidgetStateColor.fromMap WidgetStateColor fromMap Widget State Color.from Map constructor widgets
- WidgetStateMouseCursor.fromMapconstructor
Creates a WidgetStateMouseCursor from a WidgetStateMap. widgets.WidgetStateMouseCursor.WidgetStateMouseCursor.fromMap WidgetStateMouseCursor fromMap Widget State Mouse Cursor.from Map constructor widgets
- WidgetStateOutlinedBorder.fromMapconstructor
Creates a WidgetStateOutlinedBorder from a WidgetStateMap. widgets.WidgetStateOutlinedBorder.WidgetStateOutlinedBorder.fromMap WidgetStateOutlinedBorder fromMap Widget State Outlined Border.from Map constructor widgets
- WidgetStateTextStyle.fromMapconstructor
Creates a WidgetStateTextStyle from a WidgetStateMap. widgets.WidgetStateTextStyle.WidgetStateTextStyle.fromMap WidgetStateTextStyle fromMap Widget State Text Style.from Map constructor widgets
- WidgetStateColor.resolveWithconstructor
Creates a WidgetStateColor from a WidgetPropertyResolver<Color> callback function. widgets.WidgetStateColor.WidgetStateColor.resolveWith WidgetStateColor resolveWith Widget State Color.resolve With constructor widgets
- WidgetStateMouseCursor.resolveWithconstructor
Creates a WidgetStateMouseCursor using a WidgetPropertyResolver callback. widgets.WidgetStateMouseCursor.WidgetStateMouseCursor.resolveWith WidgetStateMouseCursor resolveWith Widget State Mouse Cursor.resolve With constructor widgets
- WidgetStateOutlinedBorder.resolveWithconstructor
Creates a WidgetStateOutlinedBorder using a WidgetPropertyResolver callback. widgets.WidgetStateOutlinedBorder.WidgetStateOutlinedBorder.resolveWith WidgetStateOutlinedBorder resolveWith Widget State Outlined Border.resolve With constructor widgets
- widget_previews.WidgetWrappertypedef
that wrap a Widget with another Widget when creating a Preview. widget_previews.WidgetWrapper WidgetWrapper Widget Wrapper typedef widget_previews
- WidgetStateBorderSide.resolveWithconstructor
Creates a WidgetStateBorderSide from a WidgetPropertyResolver<BorderSide?> callback function. widgets.WidgetStateBorderSide.WidgetStateBorderSide.resolveWith WidgetStateBorderSide resolveWith Widget State Border Side.resolve With constructor widgets
- WidgetStateTextStyle.resolveWithconstructor
Creates a WidgetStateTextStyle from a WidgetPropertyResolver<TextStyle> callback function. widgets.WidgetStateTextStyle.WidgetStateTextStyle.resolveWith WidgetStateTextStyle resolveWith Widget State Text Style.resolve With constructor widgets
- WidgetsApp.newconstructor
wraps a number of widgets that are commonly required for an application. widgets.WidgetsApp.WidgetsApp.new WidgetsApp new Widgets App.new constructor widgets
- widgets.runWidgetfunction
Inflate the given widget and bootstrap the widget tree. widgets.runWidget runWidget run Widget function widgets
- WidgetStatesController.newconstructor
Creates a WidgetStatesController. widgets.WidgetStatesController.WidgetStatesController.new WidgetStatesController new Widget States Controller.new constructor widgets
- widgets.WidgetsBindingmixin
glue between the widgets layer and the Flutter engine. widgets.WidgetsBinding WidgetsBinding Widgets Binding mixin widgets
- WidgetSpan.newconstructor
Creates a WidgetSpan with the given values. widgets.WidgetSpan.WidgetSpan.new WidgetSpan new Widget Span.new constructor widgets
- WidgetOrderTraversalPolicy.newconstructor
orders widgets for keyboard traversal based on the widget hierarchy order. widgets.WidgetOrderTraversalPolicy.WidgetOrderTraversalPolicy.new WidgetOrderTraversalPolicy new Widget Order Traversal Policy.new constructor widgets
- widgets.WidgetsServiceExtensionsenum
Service extension constants for the widgets library. widgets.WidgetsServiceExtensions WidgetsServiceExtensions Widgets Service Extensions enum widgets
- WidgetInspector.newconstructor
Creates a widget that enables inspection for the child. widgets.WidgetInspector.WidgetInspector.new WidgetInspector new Widget Inspector.new constructor widgets
- WidgetsLocalizations.newconstructor
widgets.WidgetsLocalizations.WidgetsLocalizations.new WidgetsLocalizations new Widgets Localizations.new constructor widgets
- WidgetStateInputBorder.fromMapconstructor
Creates a WidgetStateOutlinedBorder from a WidgetStateMap. material.WidgetStateInputBorder.WidgetStateInputBorder.fromMap WidgetStateInputBorder fromMap Widget State Input Border.from Map constructor material
- widgets.WidgetInspectorServicemixin
Service used by GUI tools to interact with the WidgetInspector. widgets.WidgetInspectorService WidgetInspectorService Widget Inspector Service mixin widgets
- widgets.WidgetBuildertypedef
Signature for a function that creates a widget, e.g. StatelessWidget.build or State.build. widgets.WidgetBuilder WidgetBuilder Widget Builder typedef widgets
- widgets.WidgetInspectorServiceExtensionsenum
Service extension constants for the Widget Inspector. widgets.WidgetInspectorServiceExtensions WidgetInspectorServiceExtensions Widget Inspector Service Extensions enum widgets
- widgets.WidgetStateenum
widgets can take on when receiving input from the user. widgets.WidgetState WidgetState Widget State enum widgets
- WidgetsApp.routerconstructor
Creates a WidgetsApp that uses the Router instead of a Navigator. widgets.WidgetsApp.WidgetsApp.router WidgetsApp router Widgets App.router constructor widgets
- WidgetStateProperty.fromMapconstructor
Creates a property that resolves using a WidgetStateMap. widgets.WidgetStateProperty.WidgetStateProperty.fromMap WidgetStateProperty fromMap Widget State Property.from Map constructor widgets
- WidgetStateInputBorder.resolveWithconstructor
Creates a WidgetStateInputBorder using a WidgetPropertyResolver callback. material.WidgetStateInputBorder.WidgetStateInputBorder.resolveWith WidgetStateInputBorder resolveWith Widget State Input Border.resolve With constructor material
- WidgetsBindingObserver.newconstructor
widgets.WidgetsBindingObserver.WidgetsBindingObserver.new WidgetsBindingObserver new Widgets Binding Observer.new constructor widgets
- WidgetsFlutterBinding.newconstructor
widgets.WidgetsFlutterBinding.WidgetsFlutterBinding.new WidgetsFlutterBinding new Widgets Flutter Binding.new constructor widgets