applyThemeDepthEnable function
double
applyThemeDepthEnable({
- required BuildContext context,
- required bool styleEnableDepth,
- 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);
}