Named parameters

Named parameters

enableFlags(bold: true, hidden: false);
/// Sets the [bold] and [hidden] flags ... 
void enableFlags({bool bold, bool hidden}) {...}
const Scrollbar({Key key, @required Widget child})

Related concepts

Named parameters — Structure map

Clickable & Draggable!

Named parameters — Related pages: