padding10 function

Widget padding10(
  1. Widget widget, {
  2. double left = 10,
  3. double top = 10,
  4. double right = 10,
  5. double bottom = 10,
})

Implementation

Widget padding10(
  Widget widget, {
  double left = 10,
  double top = 10,
  double right = 10,
  double bottom = 10,
}) {
  return Padding(
      padding: EdgeInsets.fromLTRB(left, top, right, bottom), child: widget);
}