Skip to content

Commit 5a28821

Browse files
committed
docs fixed
1 parent 940a54d commit 5a28821

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.3.2-beta
2+
3+
- Documentation additions
4+
15
# 0.3.1-beta
26

37
- Modified the way to align cells to the center

lib/src/inner.dart

+7-8
Original file line numberDiff line numberDiff line change
@@ -367,31 +367,30 @@ List<Side> createColToAlign<T>(CellsMatrix matrix, Map<dynamic, Side>? align) {
367367
}
368368

369369
/// Converts a set of cells defined by a two-dimensional list to a Markdown formatted ASCII table.
370+
/// Returns a string with the table that is ready for printing.
370371
///
371-
/// @param rows Source data for the table. The first of the lists will be the header, the
372+
/// [rows] is the source data for the table. The first of the lists will be the header, the
372373
/// others - ordinary lines. The values can be [String]s, [num]s, [null], or any objects. Either
373374
/// way, they end up being converted to strings.
374375
///
375-
/// @param align Specifies which way all cells in a particular column should be aligned. The keys
376+
/// [align] specifies which way all cells in a particular column should be aligned. The keys
376377
/// of this [Map] can be of type [int] then they denote the index of the column, or of type
377378
/// [String] - then they denote the name of the column.
378379
///
379-
/// @param format Specifies how to convert each cell of a particular column to a row.
380+
/// [format] specifies how to convert each cell of a particular column to a row.
380381
/// This conversion occurs after sorting, but before alignment. The keys of this [Map] can be
381382
/// of type [int] then they denote the index of the column, or of type [String] - then they
382383
/// denote the name of the column.
383384
///
384-
/// @param sort Determines the sorting order. Sorting can take place in several columns at once.
385+
/// [sort] determines the sorting order. Sorting can take place in several columns at once.
385386
/// Priority will be given to the ones at the beginning of the list.
386387
///
387-
/// @param markdownAlign Determines whether to add the ':' characters to the delimiter under
388+
/// [markdownAlign] determines whether to add the ':' characters to the delimiter under
388389
/// the header. These symbols tell services like GitHub which way to align the columns after
389390
/// converting the table to HTML.
390391
///
391-
/// @param outerBorder Determines whether to add vertical borders to the left and right sides
392+
/// [outerBorder] determines whether to add vertical borders to the left and right sides
392393
/// of the table.
393-
///
394-
/// @returns A string containing a converted ASCII table that is ready for printing.
395394
String tabular(List<List<dynamic>> rows,
396395
{Map<dynamic, Side>? align,
397396
Map<dynamic, FormatCell>? format,

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: tabular
22
description: Dart library for easily displaying tabular data in a visually appealing ASCII table format.
3-
version: 0.3.1-beta
3+
version: 0.3.2-beta
44
repository: https://github.com/rtmigo/tabular
55

66
environment:

0 commit comments

Comments
 (0)