buildContactAndDesignationRow function
Implementation
Widget buildContactAndDesignationRow(
OrganizationCubit cubit,
OrganizationState state,
) {
return Row(
children: [
Expanded(
child: buildColumnWithTextField(
"Contact Person",
cubit.contactPersonController,
"Enter contact person",
false,
),
),
const SizedBox(width: 5),
Expanded(
child: buildColumnWithDropdown(
"Designation",
['Admin', 'Staff'],
state.selectedDesignation,
"Select designation",
(val) => cubit.setSelectedDesignation(val),
false,
),
),
],
);
}