Skip to content

High performance self-hosted photo and video management solution.

304 B
Raw Blame
import 'package:flutter/foundation.dart';

extension CurrentPlatform on TargetPlatform {
  @pragma('vm:prefer-inline')
  static bool get isIOS => defaultTargetPlatform == TargetPlatform.iOS;

  @pragma('vm:prefer-inline')
  static bool get isAndroid => defaultTargetPlatform == TargetPlatform.android;
}