AppSkin constructor

AppSkin(
  1. {Key? key,
  2. ColorsDelegate? colorsDelegate,
  3. TextStylesDelegate? textStylesDelegate,
  4. IconsDelegate? iconsDelegate,
  5. ImagesDelegate? imagesDelegate,
  6. FilesDelegate? filesDelegate,
  7. DimensionsDelegate? dimensionsDelegate,
  8. List<StyleDelegate>? styleDelegates,
  9. required Widget child}
)

Implementation

AppSkin({
  Key? key,
  ColorsDelegate? colorsDelegate,
  TextStylesDelegate? textStylesDelegate,
  IconsDelegate? iconsDelegate,
  ImagesDelegate? imagesDelegate,
  FilesDelegate? filesDelegate,
  DimensionsDelegate? dimensionsDelegate,
  List<StyleDelegate<dynamic>>? styleDelegates,
  required Widget child,
})  : colors = colorsDelegate ?? ColorsDelegate(),
      textStyles = textStylesDelegate ?? TextStylesDelegate(),
      icons = iconsDelegate ?? IconsDelegate(),
      images = imagesDelegate ?? ImagesDelegate(),
      files = filesDelegate ?? FilesDelegate(),
      dimensions = dimensionsDelegate ?? DimensionsDelegate(),
      styleDelegates = styleDelegates ?? [],
      super(key: key, child: child);