laboratory_5
This commit is contained in:
parent
2e76874a1a
commit
5848037c72
@ -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<MyHomePage> {
|
||||
final TextEditingController _searchController = TextEditingController();
|
||||
final ApiInterface repository = PotterRepository();
|
||||
// final ApiInterface repository = MockRepository();
|
||||
late Future<List<CardData>?> _data;
|
||||
|
||||
@override
|
||||
|
Loading…
Reference in New Issue
Block a user