repo_id
stringlengths
21
168
file_path
stringlengths
36
210
content
stringlengths
1
9.98M
__index_level_0__
int64
0
0
mirrored_repositories/gallery/services/login_service
mirrored_repositories/gallery/services/login_service/example/login_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/options_service
mirrored_repositories/gallery/services/options_service/lib/options_service.dart
library options_service; export 'src/options.dart';
0
mirrored_repositories/gallery/services/options_service/lib
mirrored_repositories/gallery/services/options_service/lib/src/options.dart
import 'package:constants_service/constants_service.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:themes_service/themes_service.dart'; const systemLocaleOption = Locale('system'); Locale? _deviceLocale; Locale? get dev...
0
mirrored_repositories/gallery/services/options_service
mirrored_repositories/gallery/services/options_service/test/options_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/options_service
mirrored_repositories/gallery/services/options_service/example/options_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/video_service
mirrored_repositories/gallery/services/video_service/lib/video_service.dart
library video_service; export 'src/bloc/index.dart';
0
mirrored_repositories/gallery/services/video_service/lib/src
mirrored_repositories/gallery/services/video_service/lib/src/bloc/index.dart
export 'src/bloc.dart';
0
mirrored_repositories/gallery/services/video_service/lib/src/bloc
mirrored_repositories/gallery/services/video_service/lib/src/bloc/src/state.dart
part of 'bloc.dart'; enum VideoStatus { initial, initialized, failure } class VideoState extends Equatable { VideoState({ this.status = VideoStatus.initial, this.videoPlayerController, this.aspectRatio = 4 / 3, this.isShowingController = false, this.isCompleted = false, this.isPlaying = fals...
0
mirrored_repositories/gallery/services/video_service/lib/src/bloc
mirrored_repositories/gallery/services/video_service/lib/src/bloc/src/bloc.dart
import 'dart:async'; import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; import 'package:flutter/material.dart'; import 'package:video_player/video_player.dart'; part 'event.dart'; part 'state.dart'; class VideoBloc extends Bloc<VideoEvent, VideoState> { VideoBloc() : super(VideoState()); ...
0
mirrored_repositories/gallery/services/video_service/lib/src/bloc
mirrored_repositories/gallery/services/video_service/lib/src/bloc/src/event.dart
part of 'bloc.dart'; @immutable abstract class VideoEvent extends Equatable { const VideoEvent(); @override List<Object?> get props => []; } class VideoInitialized extends VideoEvent { const VideoInitialized(this.videoUrl); final String videoUrl; @override List<Object?> get props => [videoUrl]; } cl...
0
mirrored_repositories/gallery/services/video_service
mirrored_repositories/gallery/services/video_service/test/video_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/video_service
mirrored_repositories/gallery/services/video_service/example/video_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/themes_service
mirrored_repositories/gallery/services/themes_service/lib/themes_service.dart
library themes_service; export 'src/themes.dart';
0
mirrored_repositories/gallery/services/themes_service/lib
mirrored_repositories/gallery/services/themes_service/lib/src/themes.dart
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:layout_service/layout_service.dart'; class GalleryThemeData { static const _lightFillColor = Colors.black; static const _darkFillColor = Colors.white; static final Co...
0
mirrored_repositories/gallery/services/themes_service
mirrored_repositories/gallery/services/themes_service/test/themes_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/themes_service
mirrored_repositories/gallery/services/themes_service/example/themes_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/gallery_service
mirrored_repositories/gallery/services/gallery_service/lib/gallery_service.dart
library gallery_service; export 'src/bloc/index.dart'; export 'src/models/index.dart'; export 'src/providers/api/index.dart'; export 'src/repository/index.dart';
0
mirrored_repositories/gallery/services/gallery_service/lib/src
mirrored_repositories/gallery/services/gallery_service/lib/src/repository/index.dart
export 'src/gallery.dart';
0
mirrored_repositories/gallery/services/gallery_service/lib/src/repository
mirrored_repositories/gallery/services/gallery_service/lib/src/repository/src/gallery.dart
import 'dart:async'; import 'dart:convert'; import 'package:built_collection/built_collection.dart'; import 'package:constants_service/constants_service.dart'; import 'package:convert/convert.dart'; import 'package:gallery_service/src/models/index.dart'; import 'package:gallery_service/src/providers/api/index.dart'; i...
0
mirrored_repositories/gallery/services/gallery_service/lib/src
mirrored_repositories/gallery/services/gallery_service/lib/src/models/index.dart
export 'src/album.dart'; export 'src/gallery.dart'; export 'src/media.dart';
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/album.dart
import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; part 'album.g.dart'; abstract class Album implements Built<Album, AlbumBuilder> { String get name; String get path; Album._(); factory Album([void Function(AlbumBuilder) updates]) = _$Album; static Serializer<Al...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/media.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'media.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** const MediaType _$image = const MediaType._('image'); const MediaType _$vi...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/gallery.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'gallery.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<Gallery> _$gallerySerializer = new _$GallerySerializer(); Ser...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/media.dart
import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'media.g.dart'; abstract class Media implements Built<Media, MediaBuilder> { String get name; String get path; MediaType get ty...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/serializers.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of serializers; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializers _$serializers = (new Serializers().toBuilder() ..add(Albu...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/gallery.dart
import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'package:gallery_service/src/models/src/album.dart'; import 'package:gallery_service/src/models/src/media.dart'; import 'serializers.dart'; part 'gallery.g.dart'...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/album.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'album.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<Album> _$albumSerializer = new _$AlbumSerializer(); class _$Al...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/models
mirrored_repositories/gallery/services/gallery_service/lib/src/models/src/serializers.dart
library serializers; import 'package:built_collection/built_collection.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'album.dart'; import 'gallery.dart'; import 'media.dart'; part 'serializers.g.dart'; /// Example of how to use built_value serial...
0
mirrored_repositories/gallery/services/gallery_service/lib/src
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc/index.dart
export 'src/bloc.dart';
0
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc/src/state.dart
part of 'bloc.dart'; enum GalleryStatus { initial, loading, success, successPushed, successPopped, notFound, failure, } class GalleryState extends Equatable { const GalleryState({ this.status = GalleryStatus.initial, this.gallery, this.pushedGallery, this.poppedGallery, }); final ...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc/src/bloc.dart
import 'dart:async'; import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; import 'package:flutter/material.dart'; import 'package:gallery_service/src/models/src/gallery.dart'; import 'package:gallery_service/src/repository/index.dart'; import 'package:gallery_service/src/repository/src/gallery.d...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc
mirrored_repositories/gallery/services/gallery_service/lib/src/bloc/src/event.dart
part of 'bloc.dart'; @immutable abstract class GalleryEvent extends Equatable { const GalleryEvent(); @override List<Object?> get props => []; } class GetGalleryRequested extends GalleryEvent { const GetGalleryRequested(this.path); final String path; @override List<Object?> get props => [path]; } cl...
0
mirrored_repositories/gallery/services/gallery_service/lib/src/providers
mirrored_repositories/gallery/services/gallery_service/lib/src/providers/api/index.dart
export 'src/gallery.dart';
0
mirrored_repositories/gallery/services/gallery_service/lib/src/providers/api
mirrored_repositories/gallery/services/gallery_service/lib/src/providers/api/src/gallery.dart
import 'package:gallery_service/src/models/index.dart'; import 'package:http_service/http_service.dart'; class GalleryApi { static Future<Gallery> getGalleryList(GalleryQuery query) async { final response = await HttpHelper('list').httpGet(queryParams: query.toJson()); return Gallery.fromJson(respons...
0
mirrored_repositories/gallery/services/gallery_service
mirrored_repositories/gallery/services/gallery_service/test/gallery_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/gallery_service
mirrored_repositories/gallery/services/gallery_service/example/gallery_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/account_service
mirrored_repositories/gallery/services/account_service/lib/account_service.dart
library account_service; export 'src/bloc/index.dart'; export 'src/models/index.dart'; export 'src/providers/api/index.dart'; export 'src/repository/index.dart';
0
mirrored_repositories/gallery/services/account_service/lib/src
mirrored_repositories/gallery/services/account_service/lib/src/repository/index.dart
export 'src/account.dart';
0
mirrored_repositories/gallery/services/account_service/lib/src/repository
mirrored_repositories/gallery/services/account_service/lib/src/repository/src/account.dart
import 'package:account_service/src/models/index.dart'; class AccountRepository { late Account _account; Account get account { if (_account == null) { return Account( (b) => b ..token = '92ffef8629332e06d272e147bbcf0b392a1b2377' ..id = 1 ..username = 'aliyazdi75' ...
0
mirrored_repositories/gallery/services/account_service/lib/src
mirrored_repositories/gallery/services/account_service/lib/src/models/index.dart
export 'src/account.dart';
0
mirrored_repositories/gallery/services/account_service/lib/src/models
mirrored_repositories/gallery/services/account_service/lib/src/models/src/account.dart
import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'account.g.dart'; abstract class Account implements Built<Account, AccountBuilder> { String? get token; int get id; String get username; @BuiltValueField(wireName: 'first_name') S...
0
mirrored_repositories/gallery/services/account_service/lib/src/models
mirrored_repositories/gallery/services/account_service/lib/src/models/src/serializers.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of serializers; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializers _$serializers = (new Serializers().toBuilder()..add(Account...
0
mirrored_repositories/gallery/services/account_service/lib/src/models
mirrored_repositories/gallery/services/account_service/lib/src/models/src/serializers.dart
library serializers; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'account.dart'; part 'serializers.g.dart'; /// Example of how to use built_value serialization. /// /// Declare a top level [Serializers] field called serializers. Annotate it /// with [...
0
mirrored_repositories/gallery/services/account_service/lib/src/models
mirrored_repositories/gallery/services/account_service/lib/src/models/src/account.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'account.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<Account> _$accountSerializer = new _$AccountSerializer(); cl...
0
mirrored_repositories/gallery/services/account_service/lib/src
mirrored_repositories/gallery/services/account_service/lib/src/bloc/index.dart
0
mirrored_repositories/gallery/services/account_service/lib/src/providers
mirrored_repositories/gallery/services/account_service/lib/src/providers/api/index.dart
export 'src/account.dart';
0
mirrored_repositories/gallery/services/account_service/lib/src/providers/api
mirrored_repositories/gallery/services/account_service/lib/src/providers/api/src/account.dart
0
mirrored_repositories/gallery/services/account_service
mirrored_repositories/gallery/services/account_service/test/account_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/account_service
mirrored_repositories/gallery/services/account_service/example/account_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/http_service
mirrored_repositories/gallery/services/http_service/lib/http_service.dart
library http_service; export 'src/helper/index.dart'; export 'src/models/index.dart';
0
mirrored_repositories/gallery/services/http_service/lib/src
mirrored_repositories/gallery/services/http_service/lib/src/models/index.dart
export 'src/exception.dart'; export 'src/pagination.dart';
0
mirrored_repositories/gallery/services/http_service/lib/src/models
mirrored_repositories/gallery/services/http_service/lib/src/models/src/exception.dart
import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'exception.g.dart'; abstract class HttpExceptionModel implements Built<HttpExceptionModel, HttpExceptionModelBuilder> { String ge...
0
mirrored_repositories/gallery/services/http_service/lib/src/models
mirrored_repositories/gallery/services/http_service/lib/src/models/src/serializers.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of serializers; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializers _$serializers = (new Serializers().toBuilder() ..add(Gall...
0
mirrored_repositories/gallery/services/http_service/lib/src/models
mirrored_repositories/gallery/services/http_service/lib/src/models/src/exception.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'exception.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<HttpExceptionModel> _$httpExceptionModelSerializer = ne...
0
mirrored_repositories/gallery/services/http_service/lib/src/models
mirrored_repositories/gallery/services/http_service/lib/src/models/src/serializers.dart
library serializers; import 'package:built_collection/built_collection.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'exception.dart'; import 'pagination.dart'; part 'serializers.g.dart'; /// Example of how to use built_value serialization. /// /...
0
mirrored_repositories/gallery/services/http_service/lib/src/models
mirrored_repositories/gallery/services/http_service/lib/src/models/src/pagination.dart
import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'pagination.g.dart'; abstract class Pagination<T> implements Built<Pagination<T>, PaginationBuilder<T>> { int? get count; Stri...
0
mirrored_repositories/gallery/services/http_service/lib/src/models
mirrored_repositories/gallery/services/http_service/lib/src/models/src/pagination.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'pagination.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<Pagination<Object?>> _$paginationSerializer = new _$Pa...
0
mirrored_repositories/gallery/services/http_service/lib/src
mirrored_repositories/gallery/services/http_service/lib/src/helper/index.dart
export 'src/exception.dart'; export 'src/header.dart'; export 'src/helper.dart';
0
mirrored_repositories/gallery/services/http_service/lib/src/helper
mirrored_repositories/gallery/services/http_service/lib/src/helper/src/exception.dart
import 'package:flutter/foundation.dart'; class HttpException implements Exception { final Object type; final String? key; final String? value; HttpException(this.type, [this.key, this.value]) { debugPrintStack(label: toString()); } @override String toString() => value == null ? key == null ...
0
mirrored_repositories/gallery/services/http_service/lib/src/helper
mirrored_repositories/gallery/services/http_service/lib/src/helper/src/header.dart
enum HttpHeaderType { authenticated, anonymous, } abstract class HttpHeader { static Map<String, String> setHeader( HttpHeaderType headerType, ) { switch (headerType) { // todo: fix token to get if saved case HttpHeaderType.authenticated: return { 'Content-Type': 'applicat...
0
mirrored_repositories/gallery/services/http_service/lib/src/helper
mirrored_repositories/gallery/services/http_service/lib/src/helper/src/helper.dart
import 'dart:convert'; import 'dart:io'; import 'package:constants_service/constants_service.dart'; import 'package:http/http.dart' as http; import 'package:http_service/http_service.dart'; import 'exception.dart'; import 'header.dart'; typedef HttpMethod = Future<http.Response> Function(); abstract class HttpClien...
0
mirrored_repositories/gallery/services/http_service
mirrored_repositories/gallery/services/http_service/test/http_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/http_service
mirrored_repositories/gallery/services/http_service/example/http_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/authentication_service
mirrored_repositories/gallery/services/authentication_service/lib/authentication_service.dart
library authentication_service; export 'src/bloc/index.dart'; export 'src/models/index.dart'; export 'src/providers/api/index.dart'; export 'src/repository/index.dart';
0
mirrored_repositories/gallery/services/authentication_service/lib/src
mirrored_repositories/gallery/services/authentication_service/lib/src/repository/index.dart
export 'src/authentication.dart';
0
mirrored_repositories/gallery/services/authentication_service/lib/src/repository
mirrored_repositories/gallery/services/authentication_service/lib/src/repository/src/authentication.dart
import 'dart:async'; import 'package:authentication_service/src/models/index.dart'; import 'package:authentication_service/src/providers/api/index.dart'; class AuthenticationRepository { Future<Register> register({ required String username, required String password, required String email, String? fi...
0
mirrored_repositories/gallery/services/authentication_service/lib/src
mirrored_repositories/gallery/services/authentication_service/lib/src/models/index.dart
export 'src/login.dart'; export 'src/logout.dart'; export 'src/register.dart';
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/register.dart
import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'register.g.dart'; abstract class Register implements Built<Register, RegisterBuilder> { String get token; int get id; String get username; String get password; String get email;...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/register.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'register.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<Register> _$registerSerializer = new _$RegisterSerializer();...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/login.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'login.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<Login> _$loginSerializer = new _$LoginSerializer(); Serializer<...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/serializers.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of serializers; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializers _$serializers = (new Serializers().toBuilder() ..add(Logi...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/serializers.dart
library serializers; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'login.dart'; import 'register.dart'; part 'serializers.g.dart'; /// Example of how to use built_value serialization. /// /// Declare a top level [Serializers] field called serializers. ...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/login.dart
import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'login.g.dart'; abstract class Login implements Built<Login, LoginBuilder> { String? get token; int? get id; String get username; String? get email; @BuiltValueField(wireName: 'f...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/models
mirrored_repositories/gallery/services/authentication_service/lib/src/models/src/logout.dart
0
mirrored_repositories/gallery/services/authentication_service/lib/src
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc/index.dart
export 'src/bloc.dart';
0
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc/src/state.dart
part of 'bloc.dart'; enum AuthenticationStatus { unknown, authenticated, unauthenticated } class AuthenticationState extends Equatable { const AuthenticationState._({ this.status = AuthenticationStatus.unknown, this.account, }); final AuthenticationStatus status; final Account? account; const Auth...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc/src/bloc.dart
import 'dart:async'; import 'package:account_service/account_service.dart'; import 'package:authentication_service/src/repository/index.dart'; import 'package:bloc/bloc.dart'; import 'package:equatable/equatable.dart'; import 'package:flutter/foundation.dart'; part 'event.dart'; part 'state.dart'; class Authenticati...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc
mirrored_repositories/gallery/services/authentication_service/lib/src/bloc/src/event.dart
part of 'bloc.dart'; @immutable abstract class AuthenticationEvent extends Equatable { const AuthenticationEvent(); @override List<Object?> get props => []; } class AuthenticationStatusChanged extends AuthenticationEvent { const AuthenticationStatusChanged(this.status); final AuthenticationStatus status; ...
0
mirrored_repositories/gallery/services/authentication_service/lib/src/providers
mirrored_repositories/gallery/services/authentication_service/lib/src/providers/api/index.dart
export 'src/authentication.dart';
0
mirrored_repositories/gallery/services/authentication_service/lib/src/providers/api
mirrored_repositories/gallery/services/authentication_service/lib/src/providers/api/src/authentication.dart
import 'package:authentication_service/src/models/index.dart'; import 'package:http_service/http_service.dart'; class AuthenticationApi { static Future<Register> register(Register register) async { final response = await HttpHelper('accounts').httpPost( badRequestModel: RegisterBadRequest, body: regi...
0
mirrored_repositories/gallery/services/authentication_service
mirrored_repositories/gallery/services/authentication_service/test/authentication_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/authentication_service
mirrored_repositories/gallery/services/authentication_service/example/authentication_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/github_service
mirrored_repositories/gallery/services/github_service/lib/github_service.dart
library github_service; export 'src/models/index.dart'; export 'src/providers/api/index.dart';
0
mirrored_repositories/gallery/services/github_service/lib/src
mirrored_repositories/gallery/services/github_service/lib/src/models/index.dart
export 'src/contents.dart';
0
mirrored_repositories/gallery/services/github_service/lib/src/models
mirrored_repositories/gallery/services/github_service/lib/src/models/src/serializers.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of serializers; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializers _$serializers = (new Serializers().toBuilder() ..add(Gith...
0
mirrored_repositories/gallery/services/github_service/lib/src/models
mirrored_repositories/gallery/services/github_service/lib/src/models/src/serializers.dart
library serializers; import 'dart:convert'; import 'package:built_collection/built_collection.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'contents.dart'; part 'serializers.g.dart'; /// Example of how to use built_value serialization. /// /// ...
0
mirrored_repositories/gallery/services/github_service/lib/src/models
mirrored_repositories/gallery/services/github_service/lib/src/models/src/contents.dart
import 'package:built_collection/built_collection.dart'; import 'package:built_value/built_value.dart'; import 'package:built_value/serializer.dart'; import 'serializers.dart'; part 'contents.g.dart'; class GithubContents { static List<GithubContent> fromJson(String serialized) { return deserializeListOf<Githu...
0
mirrored_repositories/gallery/services/github_service/lib/src/models
mirrored_repositories/gallery/services/github_service/lib/src/models/src/contents.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'contents.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** const GithubContentType _$dir = const GithubContentType._('dir'); const...
0
mirrored_repositories/gallery/services/github_service/lib/src/providers
mirrored_repositories/gallery/services/github_service/lib/src/providers/api/index.dart
export 'src/github.dart';
0
mirrored_repositories/gallery/services/github_service/lib/src/providers/api
mirrored_repositories/gallery/services/github_service/lib/src/providers/api/src/github.dart
import 'package:constants_service/constants_service.dart'; import 'package:github_service/src/models/index.dart'; import 'package:http_service/http_service.dart'; class GithubApi { static Future<List<GithubContent>> getGithubContents(String path) async { //Get lost of contents final response = await ...
0
mirrored_repositories/gallery/services/github_service
mirrored_repositories/gallery/services/github_service/test/github_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/github_service
mirrored_repositories/gallery/services/github_service/example/github_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/layout_service
mirrored_repositories/gallery/services/layout_service/lib/layout_service.dart
library layout_service; export 'src/adaptive.dart'; export 'src/text_scale.dart';
0
mirrored_repositories/gallery/services/layout_service/lib
mirrored_repositories/gallery/services/layout_service/lib/src/text_scale.dart
import 'dart:math'; import 'package:flutter/material.dart'; import 'package:options_service/options_service.dart'; double _textScaleFactor(BuildContext context) { return GalleryOptions.of(context).textScaleFactor(context); } // When text is larger, this factor becomes larger, but at half the rate. // // | Text sca...
0
mirrored_repositories/gallery/services/layout_service/lib
mirrored_repositories/gallery/services/layout_service/lib/src/adaptive.dart
import 'dart:io'; import 'package:constants_service/constants_service.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:options_service/options_service.dart'; enum DesignType { material, cupertino, } enum DisplayType ...
0
mirrored_repositories/gallery/services/layout_service
mirrored_repositories/gallery/services/layout_service/test/layout_service_test.dart
void main() {}
0
mirrored_repositories/gallery/services/layout_service
mirrored_repositories/gallery/services/layout_service/example/layout_service_example.dart
void main() {}
0
mirrored_repositories/gallery/services/constants_service
mirrored_repositories/gallery/services/constants_service/lib/constants_service.dart
library constants_service; export 'src/app.dart'; export 'src/colors.dart'; export 'src/github.dart'; export 'src/paths.dart'; export 'src/size.dart'; export 'src/urls.dart';
0
mirrored_repositories/gallery/services/constants_service/lib
mirrored_repositories/gallery/services/constants_service/lib/src/app.dart
const galleryTitle = 'Gallery'; const usingLocal = false; const usingGithubAssetProvider = true;
0
mirrored_repositories/gallery/services/constants_service/lib
mirrored_repositories/gallery/services/constants_service/lib/src/github.dart
const githubAuthority = 'api.github.com'; const githubApiPath = 'repos'; const githubAuthor = 'aliyazdi75'; const githubRepository = 'gallery-assets'; const supportedGithubImageFiles = ['jpg', 'png']; const supportedGithubVideoFiles = ['mp4']; const maxImageSize = 5000000;
0