main function

void main()

Dart Board Particles Example

Implementation

void main() => runApp(DartBoard(
      initialPath: '/home',
      features: [
        SimpleRouteFeature(),

        /// We are going to use the Particle Feature
        DartBoardParticleFeature()

          /// Add the Snow Layer (it's persistent)
          ..addLayer(SnowParticleLayer())

          /// And show the intro particle layer
          ..addLayer(LightingParticleLayer()),

        FireCursorFeature(),
        RainbowCursorFeature()
      ],
    ));