build method

  1. @override
Widget build(
  1. BuildContext context
)
override

组合通用宿主并转发类型化回调。

Implementation

@override
Widget build(BuildContext context) =>
    LuckyGameView<LotsConfig, LotsLayout, LotsFrame, LuckyResult<LotsStick>>(
        game: const LotsGame(),
        config: config,
        controller: controller,
        renderer: renderer,
        width: width,
        height: height,
        alignment: alignment,
        onStart: onStart,
        onButtonTap: onButtonTap,
        onItemTap: onItemTap,
        onEnd: onEnd,
        onPhaseChanged: onPhaseChanged,
        onImageError: onImageError,
        onReady: onReady,
        hooks: hooks,
        layers: layers,
        performance: performance,
        textScaling: textScaling,
        semanticsLabel: semanticsLabel,
        semanticsValueBuilder: semanticsValueBuilder);