ExpandedViewport constructor Null safety
- {Key? key,
- AxisDirection? axisDirection = AxisDirection.down,
- AxisDirection? crossAxisDirection,
- double? anchor = 0.0,
- ViewportOffset? offset,
- Key? center,
- double? cacheExtent = 1,
- List<
Widget> ? slivers = const <Widget>[]}
Implementation
ExpandedViewport({
Key? key,
AxisDirection? axisDirection = AxisDirection.down,
AxisDirection? crossAxisDirection,
double? anchor = 0.0,
ViewportOffset? offset,
Key? center,
double? cacheExtent = 1,
List<Widget>? slivers = const <Widget>[],
}) : super(
key: key,
slivers: slivers!,
axisDirection: axisDirection!,
crossAxisDirection: crossAxisDirection,
anchor: anchor!,
offset: offset!,
center: center,
cacheExtent: cacheExtent);