cameraAvailable property

bool get cameraAvailable

The camera can be offered here (phones).

Implementation

static bool get cameraAvailable =>
    !kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.android);