ChatViewport constructor
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>[],
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,
);