|
|
|
|
@ -263,9 +263,9 @@ class _SingleItemDropDownMenuState<T extends Base, X extends LoadingListNotifier
|
|
|
|
|
isExpanded: true,
|
|
|
|
|
hint: Text(
|
|
|
|
|
isEmpty || widget.enabled == false ? context.translation.noDataFound : context.translation.select,
|
|
|
|
|
style: AppTextStyles.heading5.copyWith(color: AppColor.textStyleColor(context)),
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context)),
|
|
|
|
|
),
|
|
|
|
|
style: TextStyle(color: Theme.of(context).primaryColor, fontSize: 12),
|
|
|
|
|
// style: TextStyle(color: Theme.of(context).primaryColor, fontSize: 12),
|
|
|
|
|
underline: const SizedBox.shrink(),
|
|
|
|
|
onChanged: (widget.enabled == false || widget.showAsBottomSheet || widget.showAsFullScreenDialog)
|
|
|
|
|
? null
|
|
|
|
|
@ -284,7 +284,7 @@ class _SingleItemDropDownMenuState<T extends Base, X extends LoadingListNotifier
|
|
|
|
|
child: Text(value.name ?? "", // Null-aware operator for value.name
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
|
style: AppTextStyles.heading5.copyWith(color: AppColor.textStyleColor(context))
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context))
|
|
|
|
|
// Theme.of(context).textTheme.bodyMedium?.copyWith(fontWeight: FontWeight.w500, color: context.isDark ? AppColor.white10 : AppColor.black10),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
|