mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-26 08:03:06 +01:00
11 lines
307 B
Dart
11 lines
307 B
Dart
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);
|
|
}
|