call method
Creates a NestedStyleAttribute from individual styles.
The style parameter is the first Style object to be included.
The optional parameters style2 to style6 are additional Style objects
that can be included in the nested style.
Returns a new NestedStyleAttribute instance representing the combined styles.
Implementation
NestedStyleAttribute call(
Style style, [
Style? style2,
Style? style3,
Style? style4,
Style? style5,
Style? style6,
]) {
final styles = [style, style2, style3, style4, style5, style6]
.whereType<Style>()
.toList();
return _applyStyle(styles);
}