Flutter & Dart · Component
Padding
Padding places empty space around one child. It reduces the space given to the child, then includes that space in its own size.
Last updated
Syntax
const Padding({Key? key, required EdgeInsetsGeometry padding, Widget? child})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
EdgeInsetsAnimatedPaddingSliverPaddingContainer