Skip to content

Instantly share code, notes, and snippets.

View clembabs's full-sized avatar
🏠
Working from home

Clement Babaniyi clembabs

🏠
Working from home
View GitHub Profile
class TabNavigationService {
static final TabNavigationService _instance = TabNavigationService._internal();
factory TabNavigationService() => _instance;
TabNavigationService._internal();
/// Switch to a specific tab in the bottom navigation
void switchToTab(int tabIndex) {
final context = Routes.navKey.currentContext;
if (context == null) return;
@clembabs
clembabs / semantic-commit-messages.md
Created November 29, 2023 11:14 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example