mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt.: divide platform
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import '../../../core/utils/platform.dart';
|
||||
import 'package:toolbox/core/utils/platform/path.dart';
|
||||
|
||||
/// It's used on platform's file system.
|
||||
/// So use [Platform.pathSeparator] to join path.
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
import 'dart:convert';
|
||||
|
||||
import '/core/utils/platform.dart';
|
||||
import 'package:toolbox/core/utils/platform/base.dart';
|
||||
|
||||
class AppUpdate {
|
||||
const AppUpdate({
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:toolbox/core/utils/platform.dart';
|
||||
import 'package:toolbox/core/utils/platform/base.dart';
|
||||
import 'package:toolbox/core/utils/platform/path.dart';
|
||||
|
||||
class Paths {
|
||||
const Paths._();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:toolbox/core/persistant_store.dart';
|
||||
import 'package:toolbox/core/utils/platform.dart';
|
||||
import 'package:toolbox/core/utils/platform/base.dart';
|
||||
|
||||
import '../model/app/net_view.dart';
|
||||
import '../res/default.dart';
|
||||
|
||||
Reference in New Issue
Block a user