Continuation of the work in the following prs https://github.com/flutter/samples/pull/2337 https://github.com/flutter/samples/pull/2330 Update examples to at minimum targetSdk 34.