getCurrentTheme static method

String getCurrentTheme(
  1. BuildContext context
)

Implementation

static String getCurrentTheme(BuildContext context){
  return context.read<CustomThemeCubit>().getCurrentTheme();
}