opaque method

bool opaque(
  1. BuildContext context
)

Indicates whether the tab bar is fully opaque or can have contents behind it show through it.

Implementation

bool opaque(BuildContext context) {
  final Color backgroundColor =
      this.backgroundColor ?? CupertinoTheme.of(context).barBackgroundColor;
  return CupertinoDynamicColor.resolve(backgroundColor, context).alpha == 0xFF;
}