mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2025-12-22 01:20:46 +00:00
refactor(app): Обновить зависимости и улучшить документацию для сервисов
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
library;
|
||||
|
||||
export 'src/i_path_provider.dart';
|
||||
export 'src/i_location_service.dart';
|
||||
export 'src/i_secure_storage.dart';
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/// {@template i_location_service}
|
||||
/// Интерфейс для работы с геопозицией пользователя
|
||||
/// {@endtemplate}
|
||||
abstract interface class ILocationService {
|
||||
static const name = 'ILocationService';
|
||||
|
||||
/// Метод для получения координат пользователя
|
||||
Future<dynamic> getCurrentPosition();
|
||||
}
|
||||
@@ -4,6 +4,6 @@ abstract interface class IPathProvider {
|
||||
/// Наименования интерфейса
|
||||
static const name = 'IPathProvider';
|
||||
|
||||
/// Получение path на внутренне хранилище приложения
|
||||
/// Получение path на внутреннее хранилище приложения
|
||||
Future<String?> getAppDocumentsDirectoryPath();
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
name: i_app_services
|
||||
description: "Хранит в себе все интерфейсы для реализации общих сервисов"
|
||||
description: "Хранит в себе все интерфейсы для реализации сервисов"
|
||||
version: 0.0.1
|
||||
publish_to: "none"
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.0
|
||||
sdk: ">=3.0.0 <4.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
Reference in New Issue
Block a user