Skip to content

Commit

Permalink
2.1.0 - Fixed vertical Scrollbar and added horizontal Scrollbar. Fixe…
Browse files Browse the repository at this point in the history
…d table size. (#31)

## [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.
  • Loading branch information
RichiB20 authored Jul 3, 2024
1 parent a0012ee commit b7c098a
Show file tree
Hide file tree
Showing 19 changed files with 700 additions and 509 deletions.
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

0 comments on commit b7c098a

Please sign in to comment.