toWidget method

  1. @override
IndexedStack toWidget(
  1. AnyWidgetContext context
)
override

Implementation

@override
IndexedStack toWidget(AnyWidgetContext context) {
  return IndexedStack(
    key: key?.toFlutter(context),
    alignment: alignment?.toFlutter(context) ?? AlignmentDirectional.topStart,
    textDirection: textDirection?.toFlutter(context),
    sizing: sizing?.toFlutter(context) ?? StackFit.loose,
    index: index,
    children: children?.getChildren(context) ?? const <Widget>[],
  );
}