NutrientDocumentView<T extends NutrientController> constructor
const
NutrientDocumentView<T extends NutrientController> ({
- Key? key,
- String? documentPath,
- Uint8List? documentBytes,
- NutrientViewConfiguration? configuration,
- void onControllerReady(
- T controller
- T? adapter,
Implementation
const NutrientDocumentView({
super.key,
this.documentPath,
this.documentBytes,
this.configuration,
this.onControllerReady,
this.adapter,
}) : assert(
documentPath != null || documentBytes != null,
'Either documentPath or documentBytes must be provided',
);