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