79179575

Date: 2024-11-12 01:56:20
Score: 0.5
Natty:
Report link

when you use data['payee(name)'] it will define data type as dynamic in case it can't find value it that key and will return null (in this case your key is "payee(name)") in this case you can define type for value that return from future like this

FutureBuilder<File>( // change File to type you want ex. model String etc.
  future: // your future must return value File like <File>,
  builder: (context, snapshot) {
 // return widget here
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): when you useit
  • Low reputation (0.5):
Posted by: Lightn1ng