import 'package:flutter_modular/flutter_modular.dart';

/// Extension on [IModularNavigator] to provide strongly-typed navigation
/// for the client settings feature.
extension ClientSettingsNavigator on IModularNavigator {
  /// Navigates to the client settings page.
  void pushClientSettings() {
    pushNamed('/client/settings/');
  }

  /// Navigates to the hubs page.
  void pushHubs() {
    pushNamed('/client-hubs/');
  }
}
