From the root of this repository:
pub run build_runner build --output=build/
Look for build/example/{example_name}.dart.js file and run it with node:
build/example/{example_name}.dart.js
node build/example/{example_name}.dart.js