CPラベルが1文字しか出ない、起動が遅い
This commit is contained in:
34
lib/widgets/bottom_sheets/bottom_sheet_buy_point.dart
Normal file
34
lib/widgets/bottom_sheets/bottom_sheet_buy_point.dart
Normal file
@ -0,0 +1,34 @@
|
||||
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<DestinationController>();
|
||||
|
||||
@override
|
||||
List<Widget> 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),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user