appBarStyle property

PayorcAppBarStyle get appBarStyle

Current app bar behavior used by SDK native scaffolds.

Implementation

static PayorcAppBarStyle get appBarStyle {
  final custom = _customAppBarStyle;
  if (custom != null) return custom;
  final api = _apiAppBarStyle;
  if (api != null) return api;
  return switch (defaultTargetPlatform) {
    TargetPlatform.iOS => PayorcAppBarStyle.nativeIos,
    _ => PayorcAppBarStyle.nativeAndroid,
  };
}