mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-13 00:56:13 +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);
|
|
}
|