applyThemeDepthEnable function

double applyThemeDepthEnable({
  1. required BuildContext context,
  2. required bool styleEnableDepth,
  3. required double depth,
})

Implementation

double applyThemeDepthEnable(
    {required BuildContext context,
    required bool styleEnableDepth,
    required double depth}) {
  final EmergentThemeData theme = EmergentTheme.currentTheme(context);
  return wrapDepthWithThemeData(
      themeData: theme, styleEnableDepth: styleEnableDepth, depth: depth);
}