fromValue static method

UITabBarItemAppearanceStyle fromValue(
  1. int value
)

Implementation

static UITabBarItemAppearanceStyle fromValue(int value) => switch (value) {
  0 => UITabBarItemAppearanceStyleStacked,
  1 => UITabBarItemAppearanceStyleInline,
  2 => UITabBarItemAppearanceStyleCompactInline,
  _ => throw ArgumentError('Unknown value for UITabBarItemAppearanceStyle: $value'),
};