getAppBarSurfaceTintColor static method

Color getAppBarSurfaceTintColor(
  1. BuildContext context, {
  2. UpStyle? override,
  3. UpStyle? style,
  4. UpColorType? colorType,
})

Implementation

static Color getAppBarSurfaceTintColor(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return override?.appBarSurfaceTintColor ??
      style?.appBarSurfaceTintColor ??
      getStyleByType(
        UpConfig.of(context).theme,
        colorType,
      ).appBarSurfaceTintColor ??
      Colors.transparent;
}