• This project
    • Loading...
  • Sign in

常守达 / doublefeel_flutter · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • doublefeel_flutter
  • lib
  • app
  • utils
  • platform_compact.dart
  • feat(ui):同步ohos分支代码
    6ae01251
    by 权海
    2026-09-08 10:13:22 +0800  
    Browse Files
platform_compact.dart 210 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import 'dart:io';

bool isOhos() {
  if (Platform.isIOS) {
    return false;
  }
  if (Platform.isAndroid) {
    return false;
  }
  return true; //Platform.isOhos;
}

bool isIOS() {
  return Platform.isIOS;
}