added prototype of the filter bar + all quotes count
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
// talks to the DB itself
|
||||
// TODO: mock for now!
|
||||
|
||||
import 'package:frontend/model/quote.dart';
|
||||
|
||||
class QuoteRepository {
|
||||
//final String _dbBaseUrl = 'https://hlaskovnik-reimagined-latest.onrender.com';
|
||||
|
||||
Future<List<Quote>> getQuotes() async {
|
||||
return [
|
||||
Quote(id: 1, author: 'Adam', body: 'kratom je vule bozi'),
|
||||
Quote(id: 2, author: 'Vojta', body: 'kalach s kecupem'),
|
||||
Quote(id: 3, author: 'Anton', body: 'have you ever noticed how long cows are'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user