faqs property
final
A list of frequently asked questions (FAQs) and their answers.
Each entry is a map with a 'query' (the question) and an 'answer' (the response).
Implementation
final List<Map<String, String>> faqs = const [
{
'query': 'How do I place an order?',
'answer':
'Go to the Products tab, select items, add them to your cart, then proceed to checkout from the Cart tab.',
},
{
'query': 'How can I track my order?',
'answer':
'Visit the Orders tab to see the status of your orders. You’ll also receive notifications when the status changes.',
},
{
'query': 'How do I add a product as a farmer?',
'answer':
'Go to the Products tab, tap "Add New Product," fill in the details, and save.',
},
{
'query': 'What if my order is delayed?',
'answer':
'Check the Orders tab for updates. If delayed, contact customer care using the "More Help" option below.',
},
{
'query': 'How do I update my profile?',
'answer':
'Go to the Profile tab, edit your details, and tap "Save Profile."',
},
];