SuraWidgetExtension extension

on

Properties

expanded Widget
no setter
flexible Widget
no setter
ovalClip Widget
no setter

Methods

applyStyle({Color color = Colors.white, FontWeight fontWeight = FontWeight.normal, double fontSize = 14}) Widget
cssSpacing({List<double> margin = const [], List<double> padding = const []}) Widget
margin([EdgeInsets margin = const EdgeInsets.all(8)]) Widget
marginValue({double? all, double? vertical, double? horizontal}) Widget
opacity([double opacity = 1]) Widget
padding([EdgeInsets padding = const EdgeInsets.all(8)]) Widget
paddingValue({double? all, double? vertical, double? horizontal}) Widget
add padding all to a widget
rotate([double degree = 0]) Widget
Rotate a widget in Degreee
textColor([Color color = Colors.white]) Widget