From 5848037c7294144c50a31a1bab5aaff7dd533fbf Mon Sep 17 00:00:00 2001 From: "nikbel2004@outlook.com" Date: Fri, 20 Sep 2024 16:48:02 +0400 Subject: [PATCH] laboratory_5 --- lib/home_page/home_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/home_page/home_page.dart b/lib/home_page/home_page.dart index 7e46d5c..eaa4be4 100644 --- a/lib/home_page/home_page.dart +++ b/lib/home_page/home_page.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:pmd/models/card_data.dart'; import 'package:pmd/details_page/details_page.dart'; import 'package:pmd/repositories/api_interface.dart'; +import 'package:pmd/repositories/mock_repository.dart'; import '../repositories/potter_repository.dart'; @@ -20,6 +21,7 @@ class MyHomePage extends StatefulWidget { class _MyHomePageState extends State { final TextEditingController _searchController = TextEditingController(); final ApiInterface repository = PotterRepository(); + // final ApiInterface repository = MockRepository(); late Future?> _data; @override