BoxDecorations constructor

BoxDecorations({
  1. BoxDecoration? active,
  2. BoxDecoration? box,
  3. BoxDecoration? error,
})

Implementation

BoxDecorations(
    {final BoxDecoration? active,
    final BoxDecoration? box,
    final BoxDecoration? error}) {
  _active = active ?? _decoration(_Type.active);
  _box = box ?? _decoration(_Type.box);
  _error = error ?? _decoration(_Type.error);
}