material-components-flutter-adaptive
material-components-flutter-adaptive copied to clipboard
Now lives at https://github.com/material-foundation/flutter-packages/tree/main/packages
When click on a destination the onDestinationSelected is not called. I was testing it within the example in the repository. ` onDestinationSelected: (index){ setState() { print("Updated Index $index"); } },...
When attempting to run the example project using the command: `flutter run` You get the following error: `Because adaptive_navigation_example depends on adaptive_navigation from path which depends on adaptive_breakpoints ^0.1.2, adaptive_breakpoints...
You might consider adding a CI / GitHub actions to this repo (for things like static analysis, running tests, ...).
Migrate to Dart2.17 enhanced enum to increase readability
Add drawerFooter for support drawer footer
Support labels as shown in https://material.io/components/navigation-rail#behavior. Also supports tooltips in rail mode to match behavior of `BottomNavigationBar`. Also handle selectedIndex overflow on BottomNavigationBar and NavigationRail.
For a use case of mine, it was necessary to create the possibility of being able to click on a tab that was already selected. So I propose to add...
per scaffold source FAb type is widget. MAkes it hard for beginners to impl adaptive nav patterns as they will wonder what's wrong when they try to impl feature discovery...
// height scroll is not supported in drawer..... ``` import 'package:adaptive_navigation/adaptive_navigation.dart'; import 'package:erp/config/responsive.dart'; import 'package:erp/page/home/home.dart'; import 'package:flutter/material.dart'; class Dashboard extends StatefulWidget { @override _DashboardState createState() => _DashboardState(); } class _DashboardState...