未確認だが問題回避のためプッシュ
This commit is contained in:
@ -24,6 +24,8 @@ class _HistoryPageState extends State<HistoryPage> {
|
||||
child: Column(
|
||||
children: [
|
||||
FutureBuilder(
|
||||
// 要検討:スナップショットのエラーハンドリングが行われていますが、具体的なエラーメッセージを表示するようにすることをお勧めします。
|
||||
//
|
||||
future: db.getDestinations(),
|
||||
builder: (BuildContext context,
|
||||
AsyncSnapshot<List<Destination>> snapshot) {
|
||||
@ -49,6 +51,7 @@ class _HistoryPageState extends State<HistoryPage> {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: CustomWidget(
|
||||
// 要検討:画像のサイズがハードコードされています。画像のサイズを動的に設定できるようにすることを検討してください。
|
||||
title: dests[index].name!,
|
||||
subtitle:
|
||||
"${dests[index].sub_loc_id} : ${dests[index].name}",
|
||||
|
||||
Reference in New Issue
Block a user