timBuild method

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

Implementation

@override
Widget timBuild(BuildContext context) {
  return MultiProvider(
    providers: [
      ChangeNotifierProvider.value(
          value: serviceLocator<TUIThemeViewModel>()),
    ],
    builder: (BuildContext context, Widget? w) {
      final theme = Provider.of<TUIThemeViewModel>(context).theme;
      final value = TUIKitBuildValue(theme: theme);
      return tuiBuild(context, value);
    },
  );
}