cameraAvailable property
The camera can be offered here (phones).
Implementation
static bool get cameraAvailable =>
!kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.android);
The camera can be offered here (phones).
static bool get cameraAvailable =>
!kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.android);