appBarIconPadding method

EdgeInsetsGeometry appBarIconPadding({
  1. required double xxs,
  2. required double xs,
  3. required double sm,
})

Implementation

EdgeInsetsGeometry appBarIconPadding(
    {required double xxs, required double xs, required double sm}) {
  if (isMobile) {
    return EdgeInsets.symmetric(horizontal: xxs);
  }
  if (isTablet) {
    return EdgeInsets.symmetric(horizontal: xs);
  }
  return EdgeInsets.symmetric(horizontal: sm);
}