Skip to content

Commit 1c20741

Browse files
create TopPadding
1 parent a439521 commit 1c20741

File tree

1 file changed

+12
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)