import 'dart:ui'; /// SConfiguration model for the Toggles element group. class AstromicToggleConfiguration { final bool isEnabled; final bool withLabel; final bool isLabelTapable; final TextDirection textDirection; AstromicToggleConfiguration({ this.isEnabled = true, this.withLabel = false, this.isLabelTapable = true, this.textDirection = TextDirection.ltr, }); AstromicToggleConfiguration copyWith({ bool? isEnabled, bool? withLabel, bool? isLabelTapable, TextDirection? textDirection, }) { return AstromicToggleConfiguration( isEnabled: isEnabled ?? this.isEnabled, withLabel: withLabel ?? this.withLabel, isLabelTapable: isLabelTapable ?? this.isLabelTapable, textDirection: textDirection ?? this.textDirection, ); } }