Widget? wrapWithDefaultStyle(Widget? widget, TextStyle? style) { if (style == null || widget == null) { return widget; } else { return DefaultTextStyle(style: style, child: widget); } }