SharkWidget constructor

const SharkWidget({
  1. required SharkController controller,
  2. ClickEvent? clickEvent,
  3. Widget? initWidget,
  4. Widget? loadingWidget,
  5. Widget? errorWidget,
  6. Key? key,
})

Implementation

const SharkWidget(
    {required this.controller,
    this.clickEvent,
    this.initWidget,
    this.loadingWidget,
    this.errorWidget,
    Key? key})
    : super(key: key);