isMaterial property

bool get isMaterial

Checks if the current style is Material design.

Implementation

bool get isMaterial => style == Style.material;