Template constructor Null safety

Template(
  1. {required String header,
  2. required String message,
  3. required String id,
  4. required String fontFamily,
  5. required double fontSize,
  6. required int backgrondColour,
  7. required int foregroundColour,
  8. required double width,
  9. required double height,
  10. required String textAlignment}
)

Constructs a Template instance with the specified customisations.

Implementation

Template({
  required this.header,
  required this.message,
  required this.id,
  required this.fontFamily,
  required this.fontSize,
  required this.backgrondColour,
  required this.foregroundColour,
  required this.width,
  required this.height,
  required this.textAlignment,
});