INNER CODE UNIT · Dart

ControlledBottomBarVisibility

fujidaiti/smooth_sheets · lib/src/content_scaffold.dart:104

class ControlledBottomBarVisibility extends BottomBarVisibility {
  const ControlledBottomBarVisibility({
    super.ignoreBottomInset,
    required this.animation,
  });

  final Animation<double> animation;
}

/// {@template ConditionalBottomBarVisibility}
/// The visibility of the bottom bar is controlled by the [isVisible] callback.
///
/// The [isVisible] callback is called whenever the sheet offset changes.
/// Returning `true` keeps the bottom bar visible regardless of the offset,
/// and `false` hides it with an animation which has the [duration] and
/// [curve].
///
/// Note that, the [SheetContentScaffold.extendBodyBehindBottomBar]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…