SfPdfViewerTheme constructor Null safety

const SfPdfViewerTheme(
  1. {Key? key,
  2. required SfPdfViewerThemeData data,
  3. required Widget child}
)

Creates an argument constructor of SfPdfViewerTheme class.

Implementation

const SfPdfViewerTheme({Key? key, required this.data, required this.child})
    : super(key: key, child: child);