ChatViewport constructor

ChatViewport({
  1. Key? key,
  2. AxisDirection axisDirection = AxisDirection.down,
  3. AxisDirection? crossAxisDirection,
  4. double anchor = 0.0,
  5. required ScrollPosition offset,
  6. Key? center,
  7. double? cacheExtent,
  8. CacheExtentStyle cacheExtentStyle = CacheExtentStyle.pixel,
  9. Clip clipBehavior = Clip.hardEdge,
  10. List<Widget> slivers = const <Widget>[],
})

Implementation

ChatViewport({
  Key? key,
  AxisDirection axisDirection = AxisDirection.down,
  AxisDirection? crossAxisDirection,
  double anchor = 0.0,
  required ScrollPosition offset,
  Key? center,
  double? cacheExtent,
  CacheExtentStyle cacheExtentStyle = CacheExtentStyle.pixel,
  Clip clipBehavior = Clip.hardEdge,
  List<Widget> slivers = const <Widget>[],
}) : super(
        key: key,
        axisDirection: axisDirection,
        crossAxisDirection: crossAxisDirection,
        anchor: anchor,
        offset: offset,
        center: center,
        cacheExtent: cacheExtent,
        cacheExtentStyle: cacheExtentStyle,
        clipBehavior: clipBehavior,
        slivers: slivers,
      );