Skip to content

Examples

Starter Example

The XWidget example folder contains an XWidget version of Flutter's classic counter starter app. It demonstrates the pieces every XWidget app has: initialization through the generated registry, an inflater spec and icon spec, XML fragments with a controller, and value resources — all small enough to read in one sitting.

After cloning, regenerate the components so they match your Flutter version:

dart run xwidget_builder:xc generate

For a guided walk through the same ground — plus deploying to XWidget Cloud — see the Guided Setup.

Apps Using XWidget

MoneyMagnate

A compound interest calculator that visualizes projected earnings over time as a graph.