Affix constructor

const Affix({
  1. Key? key,
  2. required Widget child,
  3. double? offsetBottom,
  4. double offsetTop = 0,
  5. void target()?,
  6. void onChange(
    1. bool affixed
    )?,
})

Implementation

const Affix(
    {Key? key,
    required this.child,
    this.offsetBottom,
    this.offsetTop = 0,
    this.target,
    this.onChange})
    : super(key: key);