I have List String that i want to pass to another screen using push in flutter.
List<String> example;
example : [
'a',
'b',
'c',
]
And i want to pass it to another List String named lagu in another screen using push.
I'm already trying using
Navigator.push(context, MaterialPageRoute(builder: (context){
return ScreenB(lagu: example);))}
But it give me one string which is everything inside example as single string when i check inside of lagu using print(lagu)
When i check print(lagu[0]) it give me '[' in console
any solution?