HoverSnackBar constructor

HoverSnackBar({
  1. required Widget content,
  2. Duration duration = defaultDuration,
  3. double? width,
})

Implementation

HoverSnackBar({
  required this.content,
  this.duration: defaultDuration,
  this.width,
}) : super(
        duration: duration,
        elevation: 0,
        backgroundColor: Colors.transparent,
        behavior: SnackBarBehavior.floating,
        width: width,
        content: content,
      );