isGridLayout property
bool
isGridLayout
Whether the layout is S2ChoiceLayout.grid or type is S2ChoiceType.cards
Implementation
bool get isGridLayout =>
layout == S2ChoiceLayout.grid || type == S2ChoiceType.cards;