Corrected some errors using dart sdk m3 0.4.2.8_r20259

Some errors and deprecated code preventing toastd for correct function in the SDK version 0.4.2.8_r20259

Added other examples to the example page.