SharkController.fromLocal constructor
SharkController.fromLocal({
- required String? source,
- required BuildContext context,
- bool handleClickEvent = true,
Apply widget from local source
Implementation
SharkController.fromLocal(
{required this.source,
required this.context,
this.handleClickEvent = true}) {
_isLocalSource = true;
_streamController.add(_state);
_resultJson = jsonDecode(source!);
}