How to pass a list of images from widget state to component through parameter

I'm creating a journaling app and got stuck in sending the images to a bottom-sheet component before saving.

I made a icon button that uploads a list of images to the local widget state, and tried to send this to the next step (bottom sheet component) through the action(bottomsheet) parameter. However I can't seem to set the variable right...
Please help me ๐Ÿซ 

2