mirror of
https://github.com/krawieck/lemmur/
synced 2024-12-11 08:05:43 +01:00
9f9cc52cf5
* Add logging package * Refresh linux files * Android flavor setup * Setup ios flavors * Setup release CI * Refactor CI * Remove debug prints * Create prod signingConfig only if exists * Store recent logs * Remove flavoring on desktop * Fix android signing * Fix release paths (except windows) * Quote secret var * debug * Fix env vars * Add log console * Add logs section in bug issue template * Add time to logs * Add changelog entry * Rename log console * Remove key * Change way of routing * Add title
20 lines
557 B
Dart
20 lines
557 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class BottomSafe extends StatelessWidget {
|
|
final double additionalPadding;
|
|
|
|
static const fabPadding =
|
|
// FAB size + FAB margin, 56 is as per https://material.io/components/buttons-floating-action-button#anatomy
|
|
56 + kFloatingActionButtonMargin;
|
|
|
|
const BottomSafe([this.additionalPadding = 0]);
|
|
const BottomSafe.fab() : this(fabPadding);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
height: MediaQuery.of(context).padding.bottom + additionalPadding,
|
|
);
|
|
}
|
|
}
|