@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
44
55import '../services/tooltip_helper.dart' ;
66import '../theme.dart' ;
7+ import 'app_text_field.dart' ;
78
89// Single input dialog (login, email, sms)
910class SingleInputDialog extends StatefulWidget {
@@ -42,7 +43,7 @@ class _SingleInputDialogState extends State<SingleInputDialog> {
4243 width: double .maxFinite,
4344 child: Semantics (
4445 label: '${widget .fieldLabel }_input' ,
45- child: TextField (
46+ child: AppTextField (
4647 controller: _controller,
4748 decoration: InputDecoration (labelText: widget.fieldLabel),
4849 keyboardType: widget.keyboardType,
@@ -109,7 +110,7 @@ class _PairInputDialogState extends State<PairInputDialog> {
109110 Expanded (
110111 child: Semantics (
111112 label: '${widget .keyLabel }_input' ,
112- child: TextField (
113+ child: AppTextField (
113114 controller: _keyController,
114115 decoration: InputDecoration (labelText: widget.keyLabel),
115116 onChanged: (_) => setState (() {}),
@@ -120,7 +121,7 @@ class _PairInputDialogState extends State<PairInputDialog> {
120121 Expanded (
121122 child: Semantics (
122123 label: '${widget .valueLabel }_input' ,
123- child: TextField (
124+ child: AppTextField (
124125 controller: _valueController,
125126 decoration: InputDecoration (labelText: widget.valueLabel),
126127 onChanged: (_) => setState (() {}),
@@ -231,7 +232,7 @@ class _MultiPairInputDialogState extends State<MultiPairInputDialog> {
231232 Row (
232233 children: [
233234 Expanded (
234- child: TextField (
235+ child: AppTextField (
235236 controller: _keyControllers[i],
236237 decoration: InputDecoration (
237238 labelText: widget.keyLabel,
@@ -241,7 +242,7 @@ class _MultiPairInputDialogState extends State<MultiPairInputDialog> {
241242 ),
242243 const SizedBox (width: 8 ),
243244 Expanded (
244- child: TextField (
245+ child: AppTextField (
245246 controller: _valueControllers[i],
246247 decoration: InputDecoration (
247248 labelText: widget.valueLabel,
@@ -380,7 +381,7 @@ class _LoginDialogState extends State<LoginDialog> {
380381 width: double .maxFinite,
381382 child: Semantics (
382383 label: 'external_user_id_input' ,
383- child: TextField (
384+ child: AppTextField (
384385 controller: _controller,
385386 decoration: const InputDecoration (labelText: 'External User Id' ),
386387 onChanged: (_) => setState (() {}),
@@ -468,14 +469,14 @@ class _OutcomeDialogState extends State<OutcomeDialog> {
468469 ),
469470 ),
470471 const SizedBox (height: 8 ),
471- TextField (
472+ AppTextField (
472473 controller: _nameController,
473474 decoration: const InputDecoration (labelText: 'Outcome Name' ),
474475 onChanged: (_) => setState (() {}),
475476 ),
476477 if (_type == OutcomeType .withValue) ...[
477478 const SizedBox (height: 12 ),
478- TextField (
479+ AppTextField (
479480 controller: _valueController,
480481 decoration: const InputDecoration (labelText: 'Value' ),
481482 keyboardType:
@@ -563,13 +564,13 @@ class _TrackEventDialogState extends State<TrackEventDialog> {
563564 child: Column (
564565 mainAxisSize: MainAxisSize .min,
565566 children: [
566- TextField (
567+ AppTextField (
567568 controller: _nameController,
568569 decoration: const InputDecoration (labelText: 'Event Name' ),
569570 onChanged: (_) => setState (() {}),
570571 ),
571572 const SizedBox (height: 12 ),
572- TextField (
573+ AppTextField (
573574 controller: _propsController,
574575 decoration: InputDecoration (
575576 labelText: 'Properties (optional, JSON)' ,
@@ -642,13 +643,13 @@ class _CustomNotificationDialogState extends State<CustomNotificationDialog> {
642643 child: Column (
643644 mainAxisSize: MainAxisSize .min,
644645 children: [
645- TextField (
646+ AppTextField (
646647 controller: _titleController,
647648 decoration: const InputDecoration (labelText: 'Title' ),
648649 onChanged: (_) => setState (() {}),
649650 ),
650651 const SizedBox (height: 12 ),
651- TextField (
652+ AppTextField (
652653 controller: _bodyController,
653654 decoration: const InputDecoration (labelText: 'Body' ),
654655 onChanged: (_) => setState (() {}),
0 commit comments