onHashChange event update to new dart version