ViewModelConsumerBuilder<T extends ViewModel> typedef

ViewModelConsumerBuilder<T extends ViewModel> = Widget Function(BuildContext context, T viewModel, Widget? child)

ViewModelConsumer 的构建器类型

Implementation

typedef ViewModelConsumerBuilder<T extends ViewModel> = Widget Function(
    BuildContext context, T viewModel, Widget? child);