useMaterial top-level property

bool useMaterial

build by Material

Implementation

bool get useMaterial => basePlatform != null
    ? (basePlatform == TargetPlatform.android ||
        basePlatform == TargetPlatform.fuchsia)
    : (defaultTargetPlatform == TargetPlatform.android ||
        defaultTargetPlatform == TargetPlatform.fuchsia);