showToast static method

Function showToast({
  1. required String text,
  2. FLToastContentBuilder? contentBuilder,
  3. Duration? duration,
  4. FLToastPosition? position,
  5. FLToastStyle? style,
})

Implementation

static Function showToast(
        {required String text,
        FLToastContentBuilder? contentBuilder,
        Duration? duration,
        FLToastPosition? position,
        FLToastStyle? style}) =>
    _showToast(text,
        contentBuilder: contentBuilder,
        showDuration: duration,
        position: position,
        style: style,
        type: _FLToastType.custom);