widget method
Widget
widget({
- dynamic onStart()?,
- dynamic onStop()?,
- Future<
void> beforeStart()?, - bool hideIcon = false,
- TextEditingController? editController,
Implementation
Widget widget({
Function(RadioPlayer)? onStart,
Function(RadioPlayer)? onStop,
Future<void> Function(RadioPlayer)? beforeStart,
bool hideIcon = false,
TextEditingController? editController,
}) {
return RadioWidget(
key: playerKey,
radio: this,
onStart: onStart,
onStop: onStop,
beforeStart: beforeStart,
hideIcon: hideIcon,
editController: editController,
);
}