You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansu_ui/lib/extension/widget_extension.dart

12 lines
293 B

4 years ago
import 'package:flutter/material.dart';
4 years ago
extension WidgetExt on Widget {
4 years ago
Widget paddingExt(double horizontal, [double vertical = 0]) => Padding(
padding: EdgeInsets.symmetric(
horizontal: horizontal,
vertical: vertical,
),
child: this,
);
}