1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2025-01-05 03:17:29 +01:00
Jisho-Study-Tool/lib/components/search/search_result_body.dart
2022-01-19 02:10:05 +01:00

21 lines
486 B
Dart

import 'package:flutter/material.dart';
import 'package:unofficial_jisho_api/api.dart';
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: results.map((result) => SearchResultCard(result: result)).toList(),
);
}
}