|
|
|
|
@ -23,7 +23,7 @@ class AppTextFieldCustomSearch extends StatelessWidget {
|
|
|
|
|
final TextEditingController? searchController;
|
|
|
|
|
|
|
|
|
|
final Function? onChangeFun;
|
|
|
|
|
final Function? onFieldSubmitted;
|
|
|
|
|
final Function(String)? onFieldSubmitted;
|
|
|
|
|
|
|
|
|
|
final Widget ?positionedChild;
|
|
|
|
|
final IconButton? suffixIcon;
|
|
|
|
|
@ -55,7 +55,7 @@ class AppTextFieldCustomSearch extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
controller: searchController,
|
|
|
|
|
onChanged: onChangeFun!(),
|
|
|
|
|
onFieldSubmitted: onFieldSubmitted,
|
|
|
|
|
onFieldSubmitted: ()=>onFieldSubmitted,
|
|
|
|
|
validationError: validationError),
|
|
|
|
|
if (positionedChild != null)
|
|
|
|
|
Positioned(right: 35, top: 5, child: positionedChild!)
|
|
|
|
|
|