StyleRule.visibility constructor
const
StyleRule.visibility(
- VisibilityRule visibility
indicates whether and how the element appears on the map. A simplified visibility removes some style features from the affected features; roads, for example, are simplified into thinner lines without outlines, while parks lose their label text but retain the label icon.
Implementation
const factory StyleRule.visibility(VisibilityRule visibility) =
_StyleVisibilityRule;