improvements.

main_design2.1
Sikander Saleem 1 year ago
parent c1c0bcd646
commit ed256dac7c

@ -99,7 +99,7 @@ class _SearchAssetPageState extends State<SearchAssetPage> {
controller: _searchController,
textInputAction: TextInputAction.search,
labelText: "${context.translation.searchBy} ${searchBy[_selectedIndex]}",
//onAction: _search,
onAction: _search,
onChange: (text) {
_searchController.text = text;
_searchController.selection = TextSelection.fromPosition(TextPosition(offset: _searchController.text.length));

@ -50,11 +50,13 @@ class PendingServiceRequestScreen extends StatelessWidget {
audio: URLs.getFileUrl(pendingAssetServiceRequest.details[index].voiceNote),
),
],
if((pendingAssetServiceRequest.details[index].createdBy ?? "").isNotEmpty)...[
4.height,
Text(
"Created By: ${pendingAssetServiceRequest.details[index].createdBy}",
style: Theme.of(context).textTheme.bodyMedium,
),
]
],
).expanded,
8.width,

Loading…
Cancel
Save