buildWithArgs method

Widget buildWithArgs(
  1. BuildContext context,
  2. TArgs args
)

Same as build, but uses external args instead of Story.args.

Implementation

Widget buildWithArgs(BuildContext context, TArgs args) {
  final story = argsBuilder(context, args);
  return setup(context, story, args);
}