Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iconica-development/flutter_nested_categories
https://github.com/iconica-development/flutter_nested_categories
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/iconica-development/flutter_nested_categories
- Owner: Iconica-Development
- License: bsd-3-clause
- Created: 2024-04-03T07:17:31.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-04-08T16:23:32.000Z (10 months ago)
- Last Synced: 2024-11-30T04:28:38.111Z (2 months ago)
- Language: Dart
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_nested_categories
This Flutter component allows you to easily create nested categories that are very
customizable.## Features
* Nested Categories
* Collapsible Categories## Usage
You can build a nested category using the `CategoryList` class, like this:
```dart
CategoryList(
content: [
Category(
name: "Category 1",
content: [
const Text("Content 1"),
const Text("Content 2"),
],
nestedCategories: [
Category(
name: "Category 1.1",
content: [
const Text("Content 1.1"),
const Text("Content 1.2"),
],
),
],
),
],
),
```You have a bunch of customization options available as well, such as:
* Setting a (text)title (and title styling/center),
* Setting a custom title,
* Collapsible categories,
* Header styling.For a more detailed example you can see the [example](https://github.com/Iconica-Development/flutter_nested_categories/tree/main/example).
Or, you could run the example yourself:
```
git clone https://github.com/Iconica-Development/flutter_nested_categories.gitcd flutter_nested_categories
cd example
flutter run
```## Issues
Please file any issues, bugs or feature request as an issue on our [GitHub](https://github.com/Iconica-Development/flutter_nested_categories) page. Commercial support is available if you need help with integration with your app or services. You can contact us at [[email protected]](mailto:[email protected]).
## Want to contribute
If you would like to contribute to the component (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our [contribution guide](./CONTRIBUTING.md) and send us your [pull request](https://github.com/Iconica-Development/flutter_nested_categories/pulls).
## Author
This flutter_thermal_printer for Flutter is developed by [Iconica](https://iconica.nl). You can contact us at