SmartSnackBar class

Displays a SnackBar that listens to BannerAdController and adjusts its bottom offset in real time whenever a banner ad loads, resizes, or hides.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

show({required BuildContext context, required Widget content, Duration duration = const Duration(seconds: 4), SnackBarAction? action, Color? backgroundColor, EdgeInsetsGeometry margin = const EdgeInsets.fromLTRB(16, 0, 16, 16), ShapeBorder? shape, double? elevation, BannerAdController? bannerController}) → ScaffoldFeatureController<SnackBar, SnackBarClosedReason>