wrapDepthWithThemeData function
double
wrapDepthWithThemeData({
- required EmergentThemeData themeData,
- required bool styleEnableDepth,
- required double depth,
Implementation
double wrapDepthWithThemeData(
{required EmergentThemeData themeData,
required bool styleEnableDepth,
required double depth}) {
if (themeData.disableDepth) {
return 0;
} else {
return depth;
}
}