shouldFullyObstruct method Null safety
- BuildContext context
override
If true, this widget fully obstructs widgets behind it by the specified size.
If false, this widget partially obstructs.
Implementation
@override
bool shouldFullyObstruct(BuildContext context) {
final Color backgroundColor =
Theme.of(context).appBarTheme.backgroundColor!;
return backgroundColor.alpha == 0xFF;
}