INNER CODE UNIT · Dart
bodyBottom
fujidaiti/smooth_sheets · lib/src/content_scaffold.dart:565
final bodyBottom = bodyMargin.top + bodyHeight;
final bottomBarTop = extendBodyBehindBottomBar
? bodyBottom - visibleBottomBarHeight
: bodyBottom;
positionChild(_ScaffoldSlot.bottomBar, Offset(0, bottomBarTop));
// Finally, lay out the scaffold itself.
final contentHeight = bodyMargin.vertical + bodyHeight;
size = constraints.constrain(
Size(constraints.maxWidth, contentHeight),
);
}
@override
void paint(PaintingContext context, Offset offset) {
void paintChild(_ScaffoldSlot slot) {
if (childForSlot(slot) case final child?) {
final parentData = child.parentData! as BoxParentData;