FlutterResumeTemplate constructor

const FlutterResumeTemplate({
  1. Key? key,
  2. required TemplateTheme templateTheme,
  3. TemplateData? data,
  4. int? maxLinesExperience,
  5. ResumeBuilder<Widget>? onEmpty,
  6. SaveResume<GlobalKey<State<StatefulWidget>>>? onSaveResume,
  7. Color? backgroundColor,
  8. String? aboutMePlaceholder,
  9. String? hobbiesPlaceholder,
  10. String? emailPlaceHolder,
  11. String? telPlaceHolder,
  12. String? experiencePlaceHolder,
  13. String? educationPlaceHolder,
  14. String? languagePlaceHolder,
  15. EdgeInsetsGeometry? hobbiesPadding,
  16. double? imageHeight,
  17. double? imageWidth,
  18. double? imageRadius,
  19. BoxFit? imageBoxFit,
  20. double? height,
  21. double? width,
  22. bool? enableDivider = true,
  23. bool showButtons = true,
  24. Color? backgroundColorLeftSection,
  25. Widget? socialMediaPlaceholder,
  26. TemplateMode mode = TemplateMode.onlyEditableMode,
})

Implementation

const FlutterResumeTemplate({
  Key? key,
  required this.templateTheme,
  this.data,
  this.maxLinesExperience,
  this.onEmpty,
  this.onSaveResume,
  this.backgroundColor,
  this.aboutMePlaceholder,
  this.hobbiesPlaceholder,
  this.emailPlaceHolder,
  this.telPlaceHolder,
  this.experiencePlaceHolder,
  this.educationPlaceHolder,
  this.languagePlaceHolder,
  this.hobbiesPadding,
  this.imageHeight,
  this.imageWidth,
  this.imageRadius,
  this.imageBoxFit,
  this.height,
  this.width,
  this.enableDivider = true,
  this.showButtons = true,
  this.backgroundColorLeftSection,
  this.socialMediaPlaceholder,
  this.mode = TemplateMode.onlyEditableMode,
})  : assert(data != null || onEmpty != null),
      super(key: key);