Skip to content

An open-source cross-platform alternative to AirDrop

239 B
Raw Blame
import 'package:flutter/material.dart';

/// Since we use edge-to-edge mode on Android, the widgets may be hidden behind the navigation bar.
double getNavBarPadding(BuildContext context) {
  return MediaQuery.of(context).padding.bottom;
}