Skip to content

Commit 3a0836c

Browse files
create VerticalPadding
1 parent 3cf8415 commit 3a0836c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
part of '../../../../core/widgets/adaptive/padding/adaptive_padding.dart';
2+
3+
class VerticalPadding extends StatelessWidget {
4+
const VerticalPadding(
5+
{required this.padding, required this.child, super.key});
6+
final double padding;
7+
final Widget child;
8+
@override
9+
Widget build(BuildContext context) {
10+
return _RPadding(
11+
padding: REdgeInsets.symmetric(vertical: padding), child: child);
12+
}
13+
}

0 commit comments

Comments
 (0)