TableBorder class
Border specification for Table widgets.
This is like Border, with the addition of two sides: the inner horizontal borders between rows and the inner vertical borders between columns.
The sides are represented by BorderSide objects.
- Annotations
- @immutable
 
Constructors
- TableBorder({BorderSide top: BorderSide.none, BorderSide right: BorderSide.none, BorderSide bottom: BorderSide.none, BorderSide left: BorderSide.none, BorderSide horizontalInside: BorderSide.none, BorderSide verticalInside: BorderSide.none })
- 
          Creates a border for a table. [...]
          const
- TableBorder.all({Color color: const Color(0xFF000000), double width: 1.0, BorderStyle style: BorderStyle.solid })
- 
          A uniform border with all sides the same color and width. [...]
          factory
- TableBorder.symmetric({BorderSide inside: BorderSide.none, BorderSide outside: BorderSide.none })
- 
          Creates a border for a table where all the interior sides use the same
styling and all the exterior sides use the same styling.
          factory
Properties
- bottom → BorderSide
- 
          The bottom side of this border.
          final
- dimensions → EdgeInsets
- 
          The widths of the sides of this border represented as an EdgeInsets. [...]
          read-only
- hashCode → int
- 
          The hash code for this object. [...]
          read-only, override
- horizontalInside → BorderSide
- 
          The horizontal interior sides of this border.
          final
- isUniform → bool
- 
          Whether all the sides of the border (outside and inside) are identical.
Uniform borders are typically more efficient to paint.
          read-only
- left → BorderSide
- 
          The left side of this border.
          final
- right → BorderSide
- 
          The right side of this border.
          final
- top → BorderSide
- 
          The top side of this border.
          final
- verticalInside → BorderSide
- 
          The vertical interior sides of this border.
          final
- runtimeType → Type
- 
          A representation of the runtime type of the object.
          read-only, inherited
Methods
- 
          paint(Canvas canvas, Rect rect, { Iterable< double> rows, Iterable< double> columns }) → void 
- Paints the border around the given Rect on the given Canvas, with the given rows and columns. [...]
- 
          scale(double t) → TableBorder 
- 
          Creates a copy of this border but with the widths scaled by the factor t. [...]
- 
          toString() → String 
- 
          Returns a string representation of this object.
          override
- 
          noSuchMethod(Invocation invocation) → dynamic 
- 
          Invoked when a non-existent method or property is accessed. [...]
          inherited
Operators
- 
          operator ==(dynamic other) → bool 
- 
          The equality operator. [...]
          override
Static Methods
- 
          lerp(TableBorder a, TableBorder b, double t) → TableBorder 
- Linearly interpolate between two table borders. [...]