We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb85387 commit c792469Copy full SHA for c792469
lib/core/widgets/adaptive/padding/symmetric_padding.dart
@@ -0,0 +1,20 @@
1
+part of '../../../../core/widgets/adaptive/padding/adaptive_padding.dart';
2
+
3
+class SymmetricPadding extends StatelessWidget {
4
+ const SymmetricPadding({
5
+ required this.horizontal,
6
+ required this.vertical,
7
+ required this.child,
8
+ super.key,
9
+ });
10
+ final double horizontal;
11
+ final double vertical;
12
+ final Widget child;
13
+ @override
14
+ Widget build(BuildContext context) {
15
+ return _RPadding(
16
+ padding:
17
+ REdgeInsets.symmetric(horizontal: horizontal, vertical: vertical),
18
+ child: child);
19
+ }
20
+}
0 commit comments