removed squawk from expected clearance page
This commit is contained in:
@@ -184,7 +184,7 @@ class ComparisonPageState extends State<ComparisonPage> {
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(16.0),
|
||||
child: Text(
|
||||
'Use this Page while receiving your clearance. The arrow button copies the expected value. Same if left empty.',
|
||||
'Use this Page while receiving your clearance.\nThe arrow button copies the expected value. If left empty, expected values are still copied. the arrow buttons are a help for the Brain :)',
|
||||
style: TextStyle(fontSize: 16),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
@@ -214,7 +214,7 @@ class ComparisonPageState extends State<ComparisonPage> {
|
||||
buildExpectedClearanceField('Route', widget.expectedRoute),
|
||||
buildExpectedClearanceField('Altitude', widget.expectedAltitude),
|
||||
buildExpectedClearanceField('Frequency', widget.expectedFrequency),
|
||||
buildExpectedClearanceField('Transponder (Squawk)', widget.expectedSquawk),
|
||||
// buildExpectedClearanceField('Transponder (Squawk)', widget.expectedSquawk),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -287,23 +287,23 @@ class ExpectationInputPageState extends State<ExpectationInputPage> {
|
||||
enableIMEPersonalizedLearning:
|
||||
false, // iOS-specific
|
||||
),
|
||||
buildTextField(
|
||||
label: 'Transponder (Squawk)', // Now last field
|
||||
controller: _expectedSquawkController,
|
||||
currentFocus: _squawkFocusNode,
|
||||
isLastField: true, // Mark as last field
|
||||
keyboardType: TextInputType.text, // Standard keyboard
|
||||
inputFormatters: [
|
||||
// Allow only digits 0-7 and limit to 4 characters
|
||||
FilteringTextInputFormatter.allow(
|
||||
RegExp(r'[0-7]')),
|
||||
LengthLimitingTextInputFormatter(4),
|
||||
],
|
||||
enableAutocorrect: false, // Disable autocorrect
|
||||
enableSuggestions: false, // Disable suggestions
|
||||
enableIMEPersonalizedLearning:
|
||||
false, // iOS-specific
|
||||
),
|
||||
// buildTextField(
|
||||
// label: 'Transponder (Squawk)', // Now last field
|
||||
// controller: _expectedSquawkController,
|
||||
// currentFocus: _squawkFocusNode,
|
||||
// isLastField: true, // Mark as last field
|
||||
// keyboardType: TextInputType.text, // Standard keyboard
|
||||
// inputFormatters: [
|
||||
// // Allow only digits 0-7 and limit to 4 characters
|
||||
// FilteringTextInputFormatter.allow(
|
||||
// RegExp(r'[0-7]')),
|
||||
// LengthLimitingTextInputFormatter(4),
|
||||
// ],
|
||||
// enableAutocorrect: false, // Disable autocorrect
|
||||
// enableSuggestions: false, // Disable suggestions
|
||||
// enableIMEPersonalizedLearning:
|
||||
// false, // iOS-specific
|
||||
// ),
|
||||
const SizedBox(height: 20),
|
||||
ElevatedButton(
|
||||
onPressed: _navigateToComparisonPage,
|
||||
|
||||
Reference in New Issue
Block a user