diff --git a/lib/extension/widget_extension.dart b/lib/extension/widget_extension.dart index 81e297c..c77742f 100644 --- a/lib/extension/widget_extension.dart +++ b/lib/extension/widget_extension.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; extension WidgetExt on Widget { Widget get expanded => Expanded(child: this); Widget get center => Center(child: this); - Widget paddingExt(double horizontal, [double vertical]) => Padding( + Widget paddingExt(double horizontal, [double vertical = 0]) => Padding( padding: EdgeInsets.symmetric( horizontal: horizontal, vertical: vertical,