0

Can I pass a parameter to the main function in flutter? I yes then how?

void main(){}
James Z
  • 12,209
  • 10
  • 24
  • 44

1 Answers1

0

There is no way to do that,

because when you start an app on your device there are also no parameters that are passed.

you can check this Question in stack

mohammad esmaili
  • 1,614
  • 2
  • 4
  • 17