bool isMaterial(ThemeData theme) => this == AdaptiveStyle.material || (this == AdaptiveStyle.adaptive && theme.platform == TargetPlatform.android);