diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
index db77bb4..a70d544 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
index 17987b7..fa4071c 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index 09d4391..54079ce 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index d5f1c8d..31b1e5c 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi.zip b/android/app/src/main/res/mipmap-xxxhdpi.zip
new file mode 100644
index 0000000..952ecfa
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi.zip differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 4d6372e..bc0961c 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/assets/launcher.jpeg b/assets/launcher.jpeg
new file mode 100644
index 0000000..26c051f
Binary files /dev/null and b/assets/launcher.jpeg differ
diff --git a/assets/svg/ru.svg b/assets/svg/ru.svg
new file mode 100644
index 0000000..ae12982
--- /dev/null
+++ b/assets/svg/ru.svg
@@ -0,0 +1,19 @@
+
+
+
\ No newline at end of file
diff --git a/assets/svg/uk.svg b/assets/svg/uk.svg
new file mode 100644
index 0000000..88e2211
--- /dev/null
+++ b/assets/svg/uk.svg
@@ -0,0 +1,23 @@
+
+
+
\ No newline at end of file
diff --git a/l10n.yaml b/l10n.yaml
new file mode 100644
index 0000000..d26d702
--- /dev/null
+++ b/l10n.yaml
@@ -0,0 +1,6 @@
+arb-dir: l10n
+template-arb-file: app_ru.arb
+output-localization-file: app_locale.dart
+output-dir: lib/components/locale/l10n
+output-class: AppLocale
+synthetic-package: false
\ No newline at end of file
diff --git a/l10n/app_en.arb b/l10n/app_en.arb
new file mode 100644
index 0000000..e092062
--- /dev/null
+++ b/l10n/app_en.arb
@@ -0,0 +1,9 @@
+{
+ "@@locale": "en",
+
+ "search": "Search",
+ "liked": "liked!",
+ "disliked": "disliked :(",
+
+ "arbEnding": "Чтобы не забыть про отсутствие запятой :)"
+}
diff --git a/l10n/app_ru.arb b/l10n/app_ru.arb
new file mode 100644
index 0000000..f0788a7
--- /dev/null
+++ b/l10n/app_ru.arb
@@ -0,0 +1,9 @@
+{
+ "@@locale": "ru",
+
+ "search": "Поиск",
+ "liked": "понравился!",
+ "disliked": "разонравился :(",
+
+ "arbEnding": "Чтобы не забыть про отсутствие запятой :)"
+}
diff --git a/lib/components/extensions/context_x.dart b/lib/components/extensions/context_x.dart
new file mode 100644
index 0000000..cc81ee9
--- /dev/null
+++ b/lib/components/extensions/context_x.dart
@@ -0,0 +1,6 @@
+import 'package:flutter/widgets.dart';
+import 'package:flutter_test_app/components/locale/l10n/app_locale.dart';
+
+extension LocalContextX on BuildContext {
+ AppLocale get locale => AppLocale.of(this)!;
+}
diff --git a/lib/components/locale/l10n/app_locale.dart b/lib/components/locale/l10n/app_locale.dart
new file mode 100644
index 0000000..0922eb1
--- /dev/null
+++ b/lib/components/locale/l10n/app_locale.dart
@@ -0,0 +1,153 @@
+import 'dart:async';
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/widgets.dart';
+import 'package:flutter_localizations/flutter_localizations.dart';
+import 'package:intl/intl.dart' as intl;
+
+import 'app_locale_en.dart';
+import 'app_locale_ru.dart';
+
+// ignore_for_file: type=lint
+
+/// Callers can lookup localized strings with an instance of AppLocale
+/// returned by `AppLocale.of(context)`.
+///
+/// Applications need to include `AppLocale.delegate()` in their app's
+/// `localizationDelegates` list, and the locales they support in the app's
+/// `supportedLocales` list. For example:
+///
+/// ```dart
+/// import 'l10n/app_locale.dart';
+///
+/// return MaterialApp(
+/// localizationsDelegates: AppLocale.localizationsDelegates,
+/// supportedLocales: AppLocale.supportedLocales,
+/// home: MyApplicationHome(),
+/// );
+/// ```
+///
+/// ## Update pubspec.yaml
+///
+/// Please make sure to update your pubspec.yaml to include the following
+/// packages:
+///
+/// ```yaml
+/// dependencies:
+/// # Internationalization support.
+/// flutter_localizations:
+/// sdk: flutter
+/// intl: any # Use the pinned version from flutter_localizations
+///
+/// # Rest of dependencies
+/// ```
+///
+/// ## iOS Applications
+///
+/// iOS applications define key application metadata, including supported
+/// locales, in an Info.plist file that is built into the application bundle.
+/// To configure the locales supported by your app, you’ll need to edit this
+/// file.
+///
+/// First, open your project’s ios/Runner.xcworkspace Xcode workspace file.
+/// Then, in the Project Navigator, open the Info.plist file under the Runner
+/// project’s Runner folder.
+///
+/// Next, select the Information Property List item, select Add Item from the
+/// Editor menu, then select Localizations from the pop-up menu.
+///
+/// Select and expand the newly-created Localizations item then, for each
+/// locale your application supports, add a new item and select the locale
+/// you wish to add from the pop-up menu in the Value field. This list should
+/// be consistent with the languages listed in the AppLocale.supportedLocales
+/// property.
+abstract class AppLocale {
+ AppLocale(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
+
+ final String localeName;
+
+ static AppLocale? of(BuildContext context) {
+ return Localizations.of(context, AppLocale);
+ }
+
+ static const LocalizationsDelegate delegate = _AppLocaleDelegate();
+
+ /// A list of this localizations delegate along with the default localizations
+ /// delegates.
+ ///
+ /// Returns a list of localizations delegates containing this delegate along with
+ /// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
+ /// and GlobalWidgetsLocalizations.delegate.
+ ///
+ /// Additional delegates can be added by appending to this list in
+ /// MaterialApp. This list does not have to be used at all if a custom list
+ /// of delegates is preferred or required.
+ static const List> localizationsDelegates = >[
+ delegate,
+ GlobalMaterialLocalizations.delegate,
+ GlobalCupertinoLocalizations.delegate,
+ GlobalWidgetsLocalizations.delegate,
+ ];
+
+ /// A list of this localizations delegate's supported locales.
+ static const List supportedLocales = [
+ Locale('en'),
+ Locale('ru')
+ ];
+
+ /// No description provided for @search.
+ ///
+ /// In ru, this message translates to:
+ /// **'Поиск'**
+ String get search;
+
+ /// No description provided for @liked.
+ ///
+ /// In ru, this message translates to:
+ /// **'понравился!'**
+ String get liked;
+
+ /// No description provided for @disliked.
+ ///
+ /// In ru, this message translates to:
+ /// **'разонравился :('**
+ String get disliked;
+
+ /// No description provided for @arbEnding.
+ ///
+ /// In ru, this message translates to:
+ /// **'Чтобы не забыть про отсутствие запятой :)'**
+ String get arbEnding;
+}
+
+class _AppLocaleDelegate extends LocalizationsDelegate {
+ const _AppLocaleDelegate();
+
+ @override
+ Future load(Locale locale) {
+ return SynchronousFuture(lookupAppLocale(locale));
+ }
+
+ @override
+ bool isSupported(Locale locale) => ['en', 'ru'].contains(locale.languageCode);
+
+ @override
+ bool shouldReload(_AppLocaleDelegate old) => false;
+}
+
+AppLocale lookupAppLocale(Locale locale) {
+
+
+ // Lookup logic when only language code is specified.
+ switch (locale.languageCode) {
+ case 'en': return AppLocaleEn();
+ case 'ru': return AppLocaleRu();
+ }
+
+ throw FlutterError(
+ 'AppLocale.delegate failed to load unsupported locale "$locale". This is likely '
+ 'an issue with the localizations generation tool. Please file an issue '
+ 'on GitHub with a reproducible sample app and the gen-l10n configuration '
+ 'that was used.'
+ );
+}
diff --git a/lib/components/locale/l10n/app_locale_en.dart b/lib/components/locale/l10n/app_locale_en.dart
new file mode 100644
index 0000000..599548c
--- /dev/null
+++ b/lib/components/locale/l10n/app_locale_en.dart
@@ -0,0 +1,20 @@
+import 'app_locale.dart';
+
+// ignore_for_file: type=lint
+
+/// The translations for English (`en`).
+class AppLocaleEn extends AppLocale {
+ AppLocaleEn([String locale = 'en']) : super(locale);
+
+ @override
+ String get search => 'Search';
+
+ @override
+ String get liked => 'liked!';
+
+ @override
+ String get disliked => 'disliked :(';
+
+ @override
+ String get arbEnding => 'Чтобы не забыть про отсутствие запятой :)';
+}
diff --git a/lib/components/locale/l10n/app_locale_ru.dart b/lib/components/locale/l10n/app_locale_ru.dart
new file mode 100644
index 0000000..b8d5444
--- /dev/null
+++ b/lib/components/locale/l10n/app_locale_ru.dart
@@ -0,0 +1,20 @@
+import 'app_locale.dart';
+
+// ignore_for_file: type=lint
+
+/// The translations for Russian (`ru`).
+class AppLocaleRu extends AppLocale {
+ AppLocaleRu([String locale = 'ru']) : super(locale);
+
+ @override
+ String get search => 'Поиск';
+
+ @override
+ String get liked => 'понравился!';
+
+ @override
+ String get disliked => 'разонравился :(';
+
+ @override
+ String get arbEnding => 'Чтобы не забыть про отсутствие запятой :)';
+}
diff --git a/lib/components/resources.g.dart b/lib/components/resources.g.dart
new file mode 100644
index 0000000..60e71cc
--- /dev/null
+++ b/lib/components/resources.g.dart
@@ -0,0 +1,8 @@
+/// Generate by [asset_generator](https://github.com/fluttercandies/flutter_asset_generator) library.
+/// PLEASE DO NOT EDIT MANUALLY.
+// ignore_for_file: constant_identifier_names
+class R {
+ const R._();
+ static const String ASSETS_SVG_RU_SVG = 'assets/svg/ru.svg';
+ static const String ASSETS_SVG_UK_SVG = 'assets/svg/uk.svg';
+}
\ No newline at end of file
diff --git a/lib/components/utils/debounce.dart b/lib/components/utils/debounce.dart
new file mode 100644
index 0000000..4a85e47
--- /dev/null
+++ b/lib/components/utils/debounce.dart
@@ -0,0 +1,16 @@
+import 'dart:async';
+import 'dart:ui';
+
+class Debounce {
+ factory Debounce() => _instance;
+ Debounce._();
+ static final Debounce _instance = Debounce._();
+ static Timer? _timer;
+ static void run(
+ VoidCallback action, {
+ Duration delay = const Duration(milliseconds: 500),
+ }) {
+ _timer?.cancel();
+ _timer = Timer(delay, action);
+ }
+}
diff --git a/lib/data/dtos/characters_dto.dart b/lib/data/dtos/characters_dto.dart
new file mode 100644
index 0000000..a4b4abb
--- /dev/null
+++ b/lib/data/dtos/characters_dto.dart
@@ -0,0 +1,58 @@
+import 'dart:ffi';
+
+import 'package:json_annotation/json_annotation.dart';
+
+part 'characters_dto.g.dart';
+
+@JsonSerializable(createToJson: false)
+class CharactersDto {
+ final List? data;
+ final MetaDto? meta;
+
+ const CharactersDto({this.data, this.meta});
+
+ factory CharactersDto.fromJson(Map json) => _$CharactersDtoFromJson(json);
+}
+
+@JsonSerializable(createToJson: false)
+class CharacterDataDto {
+ final String? model;
+ final CharacterImagesDataDto? images;
+ final int? price;
+ final double? speed;
+ final String id;
+
+ const CharacterDataDto({this.model, this.images, this.price, this.speed, required this.id});
+
+ factory CharacterDataDto.fromJson(Map json) => _$CharacterDataDtoFromJson(json);
+}
+
+@JsonSerializable(createToJson: false)
+class CharacterImagesDataDto {
+ final String? frontQuarter;
+
+ const CharacterImagesDataDto({this.frontQuarter});
+
+ factory CharacterImagesDataDto.fromJson(Map json) =>
+ _$CharacterImagesDataDtoFromJson(json);
+}
+
+@JsonSerializable(createToJson: false)
+class MetaDto {
+ final PaginationDto? pagination;
+
+ const MetaDto({this.pagination});
+
+ factory MetaDto.fromJson(Map json) => _$MetaDtoFromJson(json);
+}
+
+@JsonSerializable(createToJson: false)
+class PaginationDto {
+ final int? current;
+ final int? next;
+ final int? last;
+
+ const PaginationDto({this.current, this.last, this.next});
+
+ factory PaginationDto.fromJson(Map json) => _$PaginationDtoFromJson(json);
+}
diff --git a/lib/data/dtos/characters_dto.g.dart b/lib/data/dtos/characters_dto.g.dart
new file mode 100644
index 0000000..34769b1
--- /dev/null
+++ b/lib/data/dtos/characters_dto.g.dart
@@ -0,0 +1,49 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'characters_dto.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+CharactersDto _$CharactersDtoFromJson(Map json) =>
+ CharactersDto(
+ data: (json["data"] as List?)
+ ?.map((e) => CharacterDataDto.fromJson(e as Map))
+ .toList(),
+ meta: json['meta'] == null
+ ? null
+ : MetaDto.fromJson(json['meta'] as Map),
+ );
+
+CharacterDataDto _$CharacterDataDtoFromJson(Map json) =>
+ CharacterDataDto(
+ model: json['model'] as String?,
+ images: json['images'] == null
+ ? null
+ : CharacterImagesDataDto.fromJson(
+ json['images'] as Map),
+ price: (json['price'] as num?)?.toInt(),
+ speed: (json['speed'] as num?)?.toDouble(),
+ id: json['id'] as String,
+ );
+
+CharacterImagesDataDto _$CharacterImagesDataDtoFromJson(
+ Map json) =>
+ CharacterImagesDataDto(
+ frontQuarter: json['frontQuarter'] as String?,
+ );
+
+MetaDto _$MetaDtoFromJson(Map json) => MetaDto(
+ pagination: json['pagination'] == null
+ ? null
+ : PaginationDto.fromJson(
+ json['pagination'] as Map),
+ );
+
+PaginationDto _$PaginationDtoFromJson(Map json) =>
+ PaginationDto(
+ current: (json['current'] as num?)?.toInt(),
+ last: (json['last'] as num?)?.toInt(),
+ next: (json['next'] as num?)?.toInt(),
+ );
diff --git a/lib/data/mappers/characters_mapper.dart b/lib/data/mappers/characters_mapper.dart
new file mode 100644
index 0000000..7d7cf4f
--- /dev/null
+++ b/lib/data/mappers/characters_mapper.dart
@@ -0,0 +1,30 @@
+import 'package:flutter_test_app/domain/models/home.dart';
+
+import '../../domain/models/card.dart';
+import '../dtos/characters_dto.dart';
+
+extension CharactersDtoToModel on CharactersDto {
+ HomeData toDomain() => HomeData(
+ data: data?.map((e) => e.toDomain()).toList(),
+ nextPage: meta?.pagination?.next,
+ );
+}
+
+extension CharactersDataDtoToModel on CharacterDataDto {
+ CardData toDomain() => CardData(
+ model ?? 'UNKNOWN',
+ imageUrl: images?.frontQuarter,
+ descriptionText: _makeDescriptionText('${price}', '${speed}'),
+ id: id,
+ );
+
+ String _makeDescriptionText(String? price, String? speed) {
+ return price != null && speed != null
+ ? 'Price: $price\nMax speed:$speed'
+ : price != null
+ ? 'price: $price'
+ : speed != null
+ ? 'speed: $speed'
+ : '';
+ }
+}
diff --git a/lib/data/repositories/api_interface.dart b/lib/data/repositories/api_interface.dart
new file mode 100644
index 0000000..0db24a1
--- /dev/null
+++ b/lib/data/repositories/api_interface.dart
@@ -0,0 +1,8 @@
+import '../../domain/models/card.dart';
+import '../../domain/models/home.dart';
+
+typedef OnErrorCallback = void Function(String? error);
+
+abstract class ApiInterface {
+ Future loadData({OnErrorCallback? onError});
+}
diff --git a/lib/data/repositories/car_repository.dart b/lib/data/repositories/car_repository.dart
new file mode 100644
index 0000000..6076f0e
--- /dev/null
+++ b/lib/data/repositories/car_repository.dart
@@ -0,0 +1,48 @@
+import 'dart:convert';
+
+import 'package:dio/dio.dart';
+import 'package:flutter_test_app/data/mappers/characters_mapper.dart';
+import 'package:flutter_test_app/domain/models/card.dart';
+import 'package:pretty_dio_logger/pretty_dio_logger.dart';
+import 'dart:developer';
+import 'package:http/http.dart' as http;
+import '../../domain/models/home.dart';
+import '../dtos/characters_dto.dart';
+import 'api_interface.dart';
+
+class CarRepository extends ApiInterface {
+ static final Dio _dio = Dio()
+ ..interceptors.add(PrettyDioLogger(
+ requestHeader: true,
+ requestBody: true,
+ ));
+
+ static const String _baseUrl = 'https://api-gta.onrender.com';
+
+ @override
+ Future loadData({
+ OnErrorCallback? onError,
+ String? q = '',
+ int page = 1,
+ int pageSize = 10,
+ }) async {
+ try {
+ const String url = '$_baseUrl/auto';
+ final Response response =
+ await _dio.get