Results for “Padding”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Layout and constraints3.47.7layout
Flutter lays out the tree in one pass: every parent hands its
- Widgets and the widget lifecycle3.47.7widgets
A widget is an immutable description of part of the UI. Flutter
- Common Flutter errors and how to fix them3.47.7widgets
Most everyday Flutter errors are the layout contract being broken: a child
Guides
- Staggered animationsdoc
Tapping the screen begins an animation that changes opacity, size, shape, color, and padding. The following video demonstrates this staggered animation: In the video
- SafeArea & MediaQuerydoc
want this behavior, the SafeArea widget allows you to disable padding on any of its four sides. By default, all four sides are enabled. It's generally
- Understanding constraintsdoc
Flutter's model for widget constraints, sizing, positioning, and how they interact
- Layouts in Flutterdoc
customize its child widget. Use a Container when you want to add padding, margins, borders, or background color, to name some of its capabilities. Each Text widget
- User inputdoc
Accept input from the user with buttons and text fields. Learn to
- Flutter architectural overviewdoc
A high-level overview of the architecture of Flutter, including the core
- Layoutdoc
Learn about common layout widgets in Flutter. Learn how to build layouts
- Rebuild UI when state changesdoc
Instructions on how to manage state with ChangeNotifiers. Learn to use ListenableBuilder
- Animate the properties of a containerdoc
convenient way to create a widget with specific properties: width, height, background color, padding, borders, and more. Simple animations often involve changing these properties over time
- Create widgetsdoc
Learn about stateless widgets and how to build your own. Learn to
API reference
- Paddingclass
widget that insets its child by the given padding. widgets.Padding Padding Padding class widgets
- Padding.newconstructor
Creates a widget that insets its child. widgets.Padding.Padding.new Padding new Padding.new constructor widgets
- PaddleSliderValueIndicatorShapeclass
value indicator is in the shape of an upside-down pear. material.PaddleSliderValueIndicatorShape PaddleSliderValueIndicatorShape Paddle Slider Value Indicator Shape class material
- PaddleRangeSliderValueIndicatorShapeclass
value indicator is in the shape of an upside-down pear. material.PaddleRangeSliderValueIndicatorShape PaddleRangeSliderValueIndicatorShape Paddle Range Slider Value Indicator Shape class material
- PaddleSliderValueIndicatorShape.newconstructor
slider value indicator in the shape of an upside-down pear. material.PaddleSliderValueIndicatorShape.PaddleSliderValueIndicatorShape.new PaddleSliderValueIndicatorShape new Paddle Slider Value Indicator Shape.new constructor material
- PaddleRangeSliderValueIndicatorShape.newconstructor
slider value indicator in the shape of an upside-down pear. material.PaddleRangeSliderValueIndicatorShape.PaddleRangeSliderValueIndicatorShape.new PaddleRangeSliderValueIndicatorShape new Paddle Range Slider Value Indicator Shape.new constructor material
- RenderPaddingclass
Insets its child by the given padding. rendering.RenderPadding RenderPadding Render Padding class rendering
- RenderSliverPaddingclass
Insets a RenderSliver, applying padding on each side. rendering.RenderSliverPadding RenderSliverPadding Render Sliver Padding class rendering
- SliverPaddingclass
sliver that applies padding on each side of another sliver. widgets.SliverPadding SliverPadding Sliver Padding class widgets
- AnimatedPaddingclass
Animated version of Padding which automatically transitions the indentation over a given duration whenever the given inset changes. widgets.AnimatedPadding AnimatedPadding Animated Padding class widgets
- Dividerclass
thin horizontal line, with padding on either side. material.Divider Divider Divider class material
- VerticalDividerclass
thin vertical line, with padding on either side. material.VerticalDivider VerticalDivider Vertical Divider class material
- rendering.debugPaintPaddingfunction
Paint a diagram showing the given area as padding. rendering.debugPaintPadding debugPaintPadding debug Paint Padding function rendering
- SliverPadding.newconstructor
applies padding on each side of another sliver. widgets.SliverPadding.SliverPadding.new SliverPadding new Sliver Padding.new constructor widgets
- SafeAreaclass
widget that insets its child with sufficient padding to avoid intrusions by the operating system. widgets.SafeArea SafeArea Safe Area class widgets
- EdgeInsets.fromViewPaddingconstructor
Creates insets that match the given view padding. painting.EdgeInsets.EdgeInsets.fromViewPadding EdgeInsets fromViewPadding Edge Insets.from View Padding constructor painting
- EdgeInsetsGeometry.fromViewPaddingconstructor
Creates EdgeInsets that match the given view padding. painting.EdgeInsetsGeometry.EdgeInsetsGeometry.fromViewPadding EdgeInsetsGeometry fromViewPadding Edge Insets Geometry.from View Padding constructor painting
- SliverSafeAreaclass
sliver that insets another sliver by sufficient padding to avoid intrusions by the operating system. widgets.SliverSafeArea SliverSafeArea Sliver Safe Area class widgets
- MediaQuery.removePaddingconstructor
inherits from the ambient MediaQuery from the given context, but removes the specified padding. widgets.MediaQuery.MediaQuery.removePadding MediaQuery removePadding Media Query.remove Padding constructor widgets
- MediaQuery.removeViewPaddingconstructor
from the ambient MediaQuery from the given context, but removes the specified view padding. widgets.MediaQuery.MediaQuery.removeViewPadding MediaQuery removeViewPadding Media Query.remove View Padding constructor widgets
- DrawerHeaderclass
Container whose decoration can be passed as an argument, inset by the given padding. material.DrawerHeader DrawerHeader Drawer Header class material
- ExpandIcon.newconstructor
Creates an ExpandIcon with the given padding, and a callback that is triggered when the icon is pressed. material.ExpandIcon.ExpandIcon.new ExpandIcon new Expand Icon.new constructor material
- material.ButtonBarLayoutBehaviorenum
define how the button bar should size itself with either constraints or internal padding. material.ButtonBarLayoutBehavior ButtonBarLayoutBehavior Button Bar Layout Behavior enum material
- material.ButtonTextThemeenum
base colors, and the defaults for the button's minimum size, internal padding, and shape. material.ButtonTextTheme ButtonTextTheme Button Text Theme enum material
- RenderSliverEdgeInsetsPaddingclass
RenderSliver by applying resolvedPadding on each side. rendering.RenderSliverEdgeInsetsPadding RenderSliverEdgeInsetsPadding Render Sliver Edge Insets Padding class rendering
- RenderSliverEdgeInsetsPadding.newconstructor
rendering.RenderSliverEdgeInsetsPadding.RenderSliverEdgeInsetsPadding.new RenderSliverEdgeInsetsPadding new Render Sliver Edge Insets Padding.new constructor rendering
- RenderPadding.newconstructor
Creates a render object that insets its child. rendering.RenderPadding.RenderPadding.new RenderPadding new Render Padding.new constructor rendering
- EdgeInsets.fromWindowPaddingconstructor
removed in a future version of Flutter. painting.EdgeInsets.EdgeInsets.fromWindowPadding EdgeInsets fromWindowPadding Edge Insets.from Window Padding constructor painting
- AnimatedPadding.newconstructor
insets its child by a value that animates implicitly. widgets.AnimatedPadding.AnimatedPadding.new AnimatedPadding new Animated Padding.new constructor widgets
- RenderSliverPadding.newconstructor
object that insets its child in a viewport. rendering.RenderSliverPadding.RenderSliverPadding.new RenderSliverPadding new Render Sliver Padding.new constructor rendering
Version changes
- - [Impeller] Fixes an issue where padding would be applied incorrectly in `Canvas.drawVerticies` when using texture coordinates.3.24.1bugfix
Impeller] Fixes an issue where padding would be applied incorrectly in `Canvas.drawVerticies` when using texture coordinates
- Deprecate ButtonBar in favor of OverflowBar3.24.0deprecated
OverflowBar.alignment` property to `MainAxisAlignment.end`. - `ButtonBar.buttonPadding` provides spacing between buttons and padding around buttons. Replace it with `OverflowBar.spacing`, which provides spacing between buttons. Wrap the `OverflowBar` widget with
- Account for vec3 padding in Metal3.44.0improvement
Account for vec3 padding in Metal (Other changes, by @walley892
- Fix InputDecorator label padding3.38.0bugfix
InputDecorator label padding (Material, by @bleroux). InputDecorator
- Fixes metal vec3 uniform padding3.44.0bugfix
Fixes metal vec3 uniform padding (Other changes, by @gaaclarke
- Fix InputDecoration helper/error padding is not compliant3.38.0bugfix
InputDecoration helper/error padding is not compliant (Material, by @bleroux). InputDecoration
- fix(scrollbar): Update padding type to EdgeInsetsGeometry3.38.0bugfix
scrollbar): Update padding type to EdgeInsetsGeometry (Framework, by @SalehTZ). EdgeInsetsGeometry
- [material/menu_anchor.dart] Check for reserved padding updates on layout delegate.3.38.0improvement
material/menu_anchor.dart] Check for reserved padding updates on layout delegate. (Material, by @davidhicks980
- Fix Menu anchor reduce padding on web and desktop3.38.0bugfix
Menu anchor reduce padding on web and desktop (Material, by @huycozy
- Enhance the Stepper widget by adding customizable header and content padding3.44.0improvement
Enhance the Stepper widget by adding customizable header and content padding (Material, by @safwanidrees
- Add bottom safe area padding to licenses package license page3.44.0new-feature
bottom safe area padding to licenses package license page (Material, by @sysint64
- Enhance input decorator padding logic for character counter in text f…3.38.0improvement
Enhance input decorator padding logic for character counter in text f… (Material, by @RootHex200
- Re-enable fragment_shader_tests.dart 'Shader Compiler appropriately pads vec3 uniform arrays' test on Vulkan3.44.0new-feature
enable fragment_shader_tests.dart 'Shader Compiler appropriately pads vec3 uniform arrays' test on Vulkan (Other changes
- Replace AnimationSheetBuilder.display with collate2.5.0breaking
The `AnimationSheetBuilder.display` and `sheetSize` methods are deprecated, and should be replaced with
- New Buttons and Button Themes1.20.0breaking
default `FlatButton`: ```dart final ButtonStyle flatButtonStyle = TextButton.styleFrom( foregroundColor: Colors.black87, minimumSize: Size(88, 36), padding: EdgeInsets.symmetric(horizontal: 16), shape: const RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular