删除撤回
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class RouteDirectionPanel extends StatefulWidget { // 重命名为Panel更符合组件语义
|
||||
class RouteDirectionPanel extends StatefulWidget {
|
||||
// 重命名为Panel更符合组件语义
|
||||
// 接收外部传入的初始值
|
||||
final bool initialOptimalHeading;
|
||||
final double initialDirection;
|
||||
@@ -11,7 +12,7 @@ class RouteDirectionPanel extends StatefulWidget { // 重命名为Panel更符合
|
||||
const RouteDirectionPanel({
|
||||
super.key,
|
||||
this.initialOptimalHeading = true, // 默认开启最优航向
|
||||
this.initialDirection = 0.0, // 默认方向0度
|
||||
this.initialDirection = 0.0, // 默认方向0度
|
||||
this.onConfirm,
|
||||
this.onCancel,
|
||||
});
|
||||
@@ -73,8 +74,8 @@ class _RouteDirectionPanelState extends State<RouteDirectionPanel> {
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
const Divider(height: 1, color: Colors.grey),
|
||||
const SizedBox(height: 20),
|
||||
//const Divider(height: 1, color: Colors.grey),
|
||||
//const SizedBox(height: 20),
|
||||
|
||||
// 最优航向开关
|
||||
Row(
|
||||
|
||||
Reference in New Issue
Block a user