overlayTileTheme property

FxOverlayTileThemeData get overlayTileTheme

Implementation

FxOverlayTileThemeData get overlayTileTheme => FxOverlayTileThemeData(
  margin: EdgeInsets.symmetric(horizontal: sizes.sm, vertical: sizes.xs),
  shape: RoundedRectangleBorder(
    borderRadius: BorderRadius.circular(sizes.sm),
    side: BorderSide(color: colors.outline.withValues(alpha: 0.12)),
  ),
  visualDensity: VisualDensity.compact,
  dense: false,
  contentPadding: EdgeInsets.symmetric(horizontal: sizes.md),
  minTileHeight: sizes.inputHeight,
  horizontalTitleGap: sizes.md,
  foregroundColor: (isSelected) => colors.onSurface,
  titleStyle: typography.titleMedium,
  subtitleStyle: typography.bodyMedium,
  backgroundColor: (isSelected) => colors.surface,
);