#2832 まで解決
This commit is contained in:
@ -5,9 +5,10 @@ import 'package:rogapp/pages/destination/destination_controller.dart';
|
||||
import 'package:rogapp/pages/index/index_controller.dart';
|
||||
import 'package:rogapp/utils/const.dart';
|
||||
import 'package:rogapp/utils/database_helper.dart';
|
||||
import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_start.dart';
|
||||
import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_goal.dart';
|
||||
import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_normal_point.dart';
|
||||
//import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_start.dart';
|
||||
//import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_goal.dart';
|
||||
//import 'package:rogapp/widgets/bottom_sheets/bottom_sheet_normal_point.dart';
|
||||
import 'package:rogapp/widgets/bottom_sheet_new.dart';
|
||||
import 'package:timeline_tile/timeline_tile.dart';
|
||||
|
||||
class DestinationWidget extends StatelessWidget {
|
||||
@ -147,8 +148,8 @@ class DestinationWidget extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
//print(
|
||||
// "------ destination widget------ ${destinationController.destinationCount.value} ----------");
|
||||
print(
|
||||
"------ destination widget------ ${destinationController.destinationCount.value} ----------");
|
||||
|
||||
return Obx(() => Stack(
|
||||
children: [
|
||||
@ -194,7 +195,8 @@ class DestinationWidget extends StatelessWidget {
|
||||
// "--- ndexController.currentDestinationFeature ----- ${indexController.currentDestinationFeature[0].name} ----");
|
||||
//indexController.getAction();
|
||||
|
||||
Widget bottomSheet;
|
||||
Widget bottomSheet = BottomSheetNew(destination: fs);
|
||||
/*
|
||||
if (fs.cp == -1 || fs.cp == 0) {
|
||||
bottomSheet = BottomSheetStart(destination: fs);
|
||||
} else if (fs.cp == -2 || fs.cp == 0) {
|
||||
@ -202,6 +204,7 @@ class DestinationWidget extends StatelessWidget {
|
||||
} else {
|
||||
bottomSheet = BottomSheetNormalPoint(destination: fs);
|
||||
}
|
||||
*/
|
||||
|
||||
showModalBottomSheet(
|
||||
constraints: BoxConstraints.loose(
|
||||
|
||||
Reference in New Issue
Block a user