improvements.

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

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

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

Loading…
Cancel
Save