StylingWidgetsModifiers extension
Flutter Widgets Modifiers for Styling widgets For more: https://docs.flutter.dev/development/ui/widgets/styling
- on
Methods
-
material(
{MaterialType type = MaterialType.canvas, double elevation = 0.0, Color? color, Color? shadowColor, Color? surfaceTintColor, TextStyle? textStyle, BorderRadiusGeometry? borderRadius, ShapeBorder? shape, bool borderOnForeground = true, Clip clipBehavior = Clip.none, Duration animationDuration = kThemeChangeDuration}) → Material -
Available on Widget, provided by the StylingWidgetsModifiers extension
Modifier for creating a piece of material for widgets. -
padding(
{double? left, double? right, double? top, double? bottom, double? horizontal, double? vertical, double? all}) → Padding -
Available on Widget, provided by the StylingWidgetsModifiers extension
Modifier for setting widget padding, with logic included for different orientations. Priority to set padding in ascending order are: EdgeInsets.all() -> EdgeInsets.symmetric() -> EdgeInsets.only() -> EdgeInsets.all(8). If none parameters are provided, it returns default padding value of 8.0. -
safeArea(
{bool left = true, bool top = true, bool right = true, bool bottom = true, EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false}) → SafeArea -
Available on Widget, provided by the StylingWidgetsModifiers extension
Modifier for Safearea inclusion. -
theme(
ThemeData data) → Theme -
Available on Widget, provided by the StylingWidgetsModifiers extension
Modifier for setting widgets Theme Data.