borderWidth property

  1. @override
double borderWidth
final

The border's width. Defaults to 2.

Contract

Throws AssertionError if borderWidth is not positive.