removed squawk from expected clearance page
This commit is contained in:
@@ -184,7 +184,7 @@ class ComparisonPageState extends State<ComparisonPage> {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.all(16.0),
|
padding: EdgeInsets.all(16.0),
|
||||||
child: Text(
|
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),
|
style: TextStyle(fontSize: 16),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
@@ -214,7 +214,7 @@ class ComparisonPageState extends State<ComparisonPage> {
|
|||||||
buildExpectedClearanceField('Route', widget.expectedRoute),
|
buildExpectedClearanceField('Route', widget.expectedRoute),
|
||||||
buildExpectedClearanceField('Altitude', widget.expectedAltitude),
|
buildExpectedClearanceField('Altitude', widget.expectedAltitude),
|
||||||
buildExpectedClearanceField('Frequency', widget.expectedFrequency),
|
buildExpectedClearanceField('Frequency', widget.expectedFrequency),
|
||||||
buildExpectedClearanceField('Transponder (Squawk)', widget.expectedSquawk),
|
// buildExpectedClearanceField('Transponder (Squawk)', widget.expectedSquawk),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -287,23 +287,23 @@ class ExpectationInputPageState extends State<ExpectationInputPage> {
|
|||||||
enableIMEPersonalizedLearning:
|
enableIMEPersonalizedLearning:
|
||||||
false, // iOS-specific
|
false, // iOS-specific
|
||||||
),
|
),
|
||||||
buildTextField(
|
// buildTextField(
|
||||||
label: 'Transponder (Squawk)', // Now last field
|
// label: 'Transponder (Squawk)', // Now last field
|
||||||
controller: _expectedSquawkController,
|
// controller: _expectedSquawkController,
|
||||||
currentFocus: _squawkFocusNode,
|
// currentFocus: _squawkFocusNode,
|
||||||
isLastField: true, // Mark as last field
|
// isLastField: true, // Mark as last field
|
||||||
keyboardType: TextInputType.text, // Standard keyboard
|
// keyboardType: TextInputType.text, // Standard keyboard
|
||||||
inputFormatters: [
|
// inputFormatters: [
|
||||||
// Allow only digits 0-7 and limit to 4 characters
|
// // Allow only digits 0-7 and limit to 4 characters
|
||||||
FilteringTextInputFormatter.allow(
|
// FilteringTextInputFormatter.allow(
|
||||||
RegExp(r'[0-7]')),
|
// RegExp(r'[0-7]')),
|
||||||
LengthLimitingTextInputFormatter(4),
|
// LengthLimitingTextInputFormatter(4),
|
||||||
],
|
// ],
|
||||||
enableAutocorrect: false, // Disable autocorrect
|
// enableAutocorrect: false, // Disable autocorrect
|
||||||
enableSuggestions: false, // Disable suggestions
|
// enableSuggestions: false, // Disable suggestions
|
||||||
enableIMEPersonalizedLearning:
|
// enableIMEPersonalizedLearning:
|
||||||
false, // iOS-specific
|
// false, // iOS-specific
|
||||||
),
|
// ),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: _navigateToComparisonPage,
|
onPressed: _navigateToComparisonPage,
|
||||||
|
|||||||
Reference in New Issue
Block a user