Skip to content

Commit

Permalink
Run Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hietan committed Nov 15, 2024
1 parent eb126b5 commit a7482fc
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions lib/pages/page_result.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class PageResultState extends State<PageResult> {
'dtend': TextEditingController(text: event['dtend']),
};


// 各コントローラーにリスナーを追加して、jsonデータを更新
controllerMap.forEach((key, controller) {
controller.addListener(() {
Expand Down Expand Up @@ -417,15 +416,14 @@ class EventCard extends StatefulWidget {
final TextEditingController endController;
final ValueNotifier<bool> deleteController;

const EventCard({
super.key,
required this.summaryController,
required this.descriptionController,
required this.locationController,
required this.startController,
required this.endController,
required this.deleteController
});
const EventCard(
{super.key,
required this.summaryController,
required this.descriptionController,
required this.locationController,
required this.startController,
required this.endController,
required this.deleteController});

@override
EventCardState createState() => EventCardState();
Expand Down Expand Up @@ -570,8 +568,11 @@ class EventCardState extends State<EventCard> {
});
Navigator.of(context).pop();
},
child: const Text('削除',
style: TextStyle(color: Colors.red,),
child: const Text(
'削除',
style: TextStyle(
color: Colors.red,
),
),
),
TextButton(
Expand Down

0 comments on commit a7482fc

Please sign in to comment.