1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-22 13:57:29 +01:00
Jisho-Study-Tool/lib/components/search/search_result_body.dart

23 lines
500 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
import 'package:unofficial_jisho_api/api.dart';
2021-12-01 23:09:53 +01:00
import 'search_results_body/search_card.dart';
class SearchResultsBody extends StatelessWidget {
final List<JishoResult> results;
const SearchResultsBody({
required this.results,
Key? key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return ListView(
children: [
for (final result in results) SearchResultCard(result: result)
],
);
}
}