import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:rogapp/pages/destination/destination_controller.dart'; import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_normal_point.dart'; class BottomSheetBuyPoint extends BottomSheetNormalPoint { BottomSheetBuyPoint({super.key, required super.destination}); final DestinationController destinationController = Get.find(); @override List buildWidgets(BuildContext context) { // super.buildWidgets(context) を継承して、追加のウィジェットをリストに組み込む return [ ...super.buildWidgets(context), ElevatedButton( onPressed: () async { // 「買い物チェックイン」ボタンがタップされた際の処理 // TODO: Implement QR code scanning and buy point processing logic }, child: const Text('買い物チェックイン'), ), ]; } @override Widget build(BuildContext context) { return SingleChildScrollView( child: Column( children: buildWidgets(context), ), ); } }