INNER CODE UNIT · Dart
ConditionalBottomBarVisibility
fujidaiti/smooth_sheets · lib/src/content_scaffold.dart:125
class ConditionalBottomBarVisibility extends BottomBarVisibility {
const ConditionalBottomBarVisibility({
super.ignoreBottomInset,
required this.isVisible,
this.initialIsVisible = true,
this.duration = const Duration(milliseconds: 150),
this.curve = Curves.easeInOut,
});
final bool Function(SheetMetrics) isVisible;
final bool initialIsVisible;
final Duration duration;
final Curve curve;
}
/// The basic layout of the content in a [Sheet].
///
/// Similar to [Scaffold], this widget provides the slots for the [topBar],