feat: Implement Hubs feature with dedicated navigation, a home page action card, a settings quick link, and localization.
This commit is contained in:
@@ -4,6 +4,6 @@ import 'package:flutter_modular/flutter_modular.dart';
|
||||
extension ClientHubsNavigator on IModularNavigator {
|
||||
/// Navigates to the client hubs page.
|
||||
Future<void> pushClientHubs() async {
|
||||
await pushNamed('/client/hubs/');
|
||||
await pushNamed('/client/hubs');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,6 +196,10 @@ class ClientHubsPage extends StatelessWidget {
|
||||
).add(const ClientHubsAddDialogToggled(visible: true)),
|
||||
text: t.client_hubs.add_hub,
|
||||
leadingIcon: LucideIcons.plus,
|
||||
style: ElevatedButton.styleFrom(
|
||||
minimumSize: Size(0, 40),
|
||||
maximumSize: Size.fromHeight(40),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user