Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed vertical Scrollbar and added horizontal Scrollbar. Fixed table size. #31

Merged
merged 25 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Flutter Expandable Table

## [2.1.0] - 2024-07-03
#### [@RichiB20](https://github.com/RichiB20)
- Fixed vertical Scrollbar and added horizontal Scrollbar.
- Added `trackVisibilityScrollbar`,`thumbVisibilityScrollbar` and `expanded` parameters.
- Fixed table size.

## [2.0.1] - 2023-09-04
#### [@rickypid](https://github.com/rickypid)
- Update flutter_scroll_shadow dependency, add GitHub Actions.
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Here is an example:
### ExpandableTable Properties
* `firstHeaderCell`: Is the top left cell, i.e. the first header cell.
* `headers`: contains the list of all column headers, each one of these can contain a list of further headers, this allows you to create nested and expandable columns.
* `rows`: ontains the list of all the rows of the table, each of these can contain a list of further rows, this allows you to create nested and expandable rows.
* `rows`: contains the list of all the rows of the table, each of these can contain a list of further rows, this allows you to create nested and expandable rows.
* `headerHeight`: is the height of each column header, i.e. the first row.
* `firstColumnWidth`: determines first Column width size.
* `defaultsColumnWidth`: defines the default width of all columns, it is possible to redefine it for each individual column.
Expand All @@ -103,7 +103,10 @@ Here is an example:
* `scrollShadowFadeOutCurve`: determines rendered curve animation of shadows disappearance.
* `scrollShadowColor`: determines rendered color of shadows.
* `scrollShadowSize`: determines size of shadows.
* `visibleScrollbar`: determines visibility of scrollbar.
* `visibleScrollbar`: determines visibility of horizontal and vertical scrollbars.
* `trackVisibilityScrollbar`: indicates that the scrollbar track should be visible.
* `thumbVisibilityScrollbar`: indicates that the scrollbar thumb should be visible, even when a scroll is not underway.
* `expanded`: indicates that the table expands, so it fills the available space along the horizontal and vertical axes.

 

Expand Down
15 changes: 12 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
- public_member_api_docs
- recursive_getters
- always_use_package_imports
- prefer_expression_function_bodies
- prefer_single_quotes
- always_declare_return_types
- avoid_unused_constructor_parameters
- prefer_final_fields
- prefer_final_locals
- sort_pub_dependencies
- type_annotate_public_apis
- recursive_getters
- unawaited_futures
- use_named_constants
- use_super_parameters
Binary file added doc/.media/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Here is an example:
### ExpandableTable Properties
* `firstHeaderCell`: Is the top left cell, i.e. the first header cell.
* `headers`: contains the list of all column headers, each one of these can contain a list of further headers, this allows you to create nested and expandable columns.
* `rows`: ontains the list of all the rows of the table, each of these can contain a list of further rows, this allows you to create nested and expandable rows.
* `rows`: contains the list of all the rows of the table, each of these can contain a list of further rows, this allows you to create nested and expandable rows.
* `headerHeight`: is the height of each column header, i.e. the first row.
* `firstColumnWidth`: determines first Column width size.
* `defaultsColumnWidth`: defines the default width of all columns, it is possible to redefine it for each individual column.
Expand All @@ -103,7 +103,10 @@ Here is an example:
* `scrollShadowFadeOutCurve`: determines rendered curve animation of shadows disappearance.
* `scrollShadowColor`: determines rendered color of shadows.
* `scrollShadowSize`: determines size of shadows.
* `visibleScrollbar`: determines visibility of scrollbar.
* `visibleScrollbar`: determines visibility of horizontal and vertical scrollbars.
* `trackVisibilityScrollbar`: indicates that the scrollbar track should be visible.
* `thumbVisibilityScrollbar`: indicates that the scrollbar thumb should be visible, even when a scroll is not underway.
* `expanded`: indicates that the table expands, so it fills the available space along the horizontal and vertical axes.

 

Expand Down
18 changes: 16 additions & 2 deletions example/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
- public_member_api_docs
- recursive_getters
- always_use_package_imports
- prefer_expression_function_bodies
- prefer_single_quotes
- always_declare_return_types
- avoid_unused_constructor_parameters
- prefer_final_fields
- prefer_final_locals
- sort_pub_dependencies
- type_annotate_public_apis
- unawaited_futures
- use_named_constants
- use_super_parameters
1 change: 1 addition & 0 deletions example/devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extensions:
Loading
Loading