Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
++
  • Loading branch information
Piinks committed Oct 19, 2023
commit 8a411ececebe866bdb19f8655200fbaf7c0379f1
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ class TableSpanDecoration {
/// [TableSpanDecorationPaintDetails.rect] containing all the other unpinned
/// cells.
void paint(TableSpanDecorationPaintDetails details) {
// TODO(Piinks): Incorporate leading/trailing edge
if (color != null) {
final Paint paint = Paint()
..color = color!
Expand Down Expand Up @@ -345,7 +344,6 @@ class TableSpanBorder {
TableSpanDecorationPaintDetails details,
BorderRadius? borderRadius,
) {
// TODO(Piinks): Incorporate leading/trailing edge
final AxisDirection axisDirection = details.axisDirection;
switch (axisDirectionToAxis(axisDirection)) {
case Axis.horizontal:
Expand Down Expand Up @@ -386,26 +384,8 @@ class TableSpanDecorationPaintDetails {
required this.canvas,
required this.rect,
required this.axisDirection,
this.isLeadingEdge = false,
this.isTrailingEdge = false,
});

/// Whether or not [rect] contains the leading edge of the [TableSpan]. This
/// is used to determine the application of
/// [TableSpanDecoration.borderRadius], which only applies to the ends of a
/// row or column.
///
/// Defaults to false.
final bool isLeadingEdge;

/// Whether or not [rect] contains the trailing edge of the [TableSpan]. This
/// is used to determine the application of
/// [TableSpanDecoration.borderRadius], which only applies to the ends of a
/// row or column.
///
/// Defaults to false.
final bool isTrailingEdge;

/// The [Canvas] that the [TableSpanDecoration] will be painted to.
final Canvas canvas;

Expand Down