For imageNamed parameter, remove file extension