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 NeumorphicThemeData theme = NeumorphicTheme.currentTheme(context);
return wrapDepthWithThemeData(
themeData: theme, styleEnableDepth: styleEnableDepth, depth: depth);
}