Created
February 1, 2022 16:41
-
-
Save AbedElazizShe/f192d9c83e26398db4b163ad8db62795 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BlocBuilder<ArticlesCubit, ArticlesState>( | |
bloc: _articlesCubit, | |
builder: (BuildContext context, ArticlesState state) { | |
if (state is ArticlesLoadingState) { | |
return const Center(child: CircularProgressIndicator()); | |
} else if (state is ArticlesLoadedState) { | |
// Load articles | |
} | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment