lemmur-app-android/lib/widgets/bottom_safe.dart

11 lines
307 B
Dart
Raw Normal View History

2021-01-26 23:16:47 +01:00
import 'package:flutter/material.dart';
class BottomSafe extends StatelessWidget {
final double additionalPadding;
const BottomSafe([this.additionalPadding = 0]);
@override
Widget build(BuildContext context) => SizedBox(
height: MediaQuery.of(context).padding.bottom + additionalPadding);
}