WidgetListExtensions
Static Class
Inheritance
objectExtension Methods
If(candidate: I Widget List Candidate, condition: bool): Conditional Candidate
Conditionally adds the given candidate to the widget list.
Parameters
candidate:
I Widget List Candidate - The candidate to add.condition:
bool - The condition under which to add the candidate.Spread(candidates: IEnumerable <I Widget List Candidate>, gap: Build Function): Spread Candidate
Spreads the given enumerable of candidates into the widget list, with the given gap between each.
Parameters
candidates:
IEnumerable <I Widget List Candidate> - The candidates to spread.gap:
Build Function - A dummy build function that will be used to create gaps between each candidate.
The context parameter of the build function will be null.Spread(candidates: IEnumerable <I Widget List Candidate>): Spread Candidate
Spreads the given enumerable of candidates into the widget list.