Jisho-Study-Tool/lib/components/search/search_results_body/parts/notes.dart

19 lines
480 B
Dart

import 'package:flutter/material.dart';
class Notes extends StatelessWidget {
final List<String> notes;
const Notes({Key? key, required this.notes}) : super(key: key);
@override
Widget build(BuildContext context) => Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Text(
'Notes:',
style: TextStyle(fontWeight: FontWeight.bold),
),
Text(notes.join(', ')),
],
);
}