Margin constructor
const
Margin({
- required EdgeInsetsGeometry margin,
- required Widget child,
- Key? key,
Creates a margin widget.
margin the margin to apply. i.e. EdgeInsets.all(8.0)
child the Widget around which the margin will be applied.
Implementation
const Margin({required this.margin, required this.child, Key? key})
: super(key: key);