Style constructor

Style({
  1. required ThemeMode mode,
  2. StyleTag tag = StyleTag.all,
  3. double? borderRadius = 8.0,
  4. double? borderWidth = 1.0,
  5. EdgeInsets? padding,
  6. String? fontFamily,
  7. double? fontSize,
  8. double? fontWeight,
  9. Color? background,
  10. Color? primary,
  11. Color? foreground,
  12. Color? border,
  13. Color? secondary,
})

Implementation

Style(
    {required this.mode,
    this.tag = StyleTag.all,
    this.borderRadius = 8.0,
    this.borderWidth = 1.0,
    this.padding,
    this.fontFamily,
    this.fontSize,
    this.fontWeight,
    this.background,
    this.primary,
    this.foreground,
    this.border,
    this.secondary}) {}