build method

  1. @deprecated
  2. @override
Widget build(
  1. BuildContext ctx
)
inherited

使用 vmBuild

Implementation

@deprecated
@override
Widget build(BuildContext ctx) {
  /// 是否需要加载
  if (!_config.load) return _root<VM>(ctx, _config, vmBuild);

  return FutureBuilder(
      future: _init(ctx, _config),
      builder: (ctx, __) => _root<VM>(ctx, _config, vmBuild));
}