border property

BoxBorder border
final

A border to draw above the background color, gradient, or image.

Follows the shape and borderRadius.

Use Border objects to describe borders that do not depend on the reading direction.

Use BoxBorder objects to describe borders that should flip their left and right edges based on whether the text is being read left-to-right or right-to-left.

Implementation

final BoxBorder border