O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Handout notes

There is nothing like a tangible handout to give presentation attendees. This can be achieved with a variation of the overview display:

Handout notes

Instead of duplicating the overview code, the function can be parameterized with an optional parameter in the method declaration. This is declared with square brackets [] around the declaration and a default value that is used if no parameter is specified:

void buildOverview([bool addNotes = false])

This is called by the presentation overview display without requiring any parameters:

buildOverview();

This is called by the handouts display without requiring any parameters:

buildOverview(true);

If this parameter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required