customPreview property Null safety

CustomPreview? customPreview
final

Implementation

final CustomPreview? customPreview;