RenderSlideAction constructor

RenderSlideAction({
  1. List<RenderBox>? children,
  2. required ActionLayout actionLayout,
  3. required ValueListenable<double> slidePercent,
  4. ActionController? controller,
})

Implementation

RenderSlideAction({
  List<RenderBox>? children,
  required ActionLayout actionLayout,
  required ValueListenable<double> slidePercent,
  ActionController? controller,
})  : _actionLayout = actionLayout,
      _slidePercent = slidePercent,
      _controller = controller {
  addAll(children);
}