SnapPlugin constructor

SnapPlugin(
  1. List<SnapDelegate> delegates, {
  2. bool enabled = false,
})

Implementation

SnapPlugin(List<SnapDelegate> delegates, {bool enabled = false})
  : _chain = SnapDelegateChain(delegates),
    _delegates = delegates,
    _enabled = Observable(enabled);