ParentStyle constructor
ParentStyle({
- AngleFormat angleFormat = AngleFormat.cycles,
Implementation
ParentStyle({this.angleFormat = AngleFormat.cycles}) {
background.addListener(() {
_backgroundColor = background.exportBackgroundColor;
_backgroundBlur = background.exportBackgroundBlur;
_backgroundImage = background.exportBackgroundImage;
_backgroundBlendMode = background.exportBackgroundBlendMode;
});
alignment.addListener(() => _alignment = alignment.getAlignment);
alignmentContent.addListener(() => _alignmentContent = alignmentContent.getAlignment);
}