BorderRadiusGeometry class abstract

Base class for BorderRadius that allows for text-direction aware resolution.

A property or argument of this type accepts classes created either with BorderRadius.only and its variants, or BorderRadiusDirectional.only and its variants.

To convert a BorderRadiusGeometry object of indeterminate type into a BorderRadius object, call the resolve method.

Implementers
Annotations
  • @immutable

Constructors

BorderRadiusGeometry()
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isUniform bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniform Radius
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(TextDirection? direction) BorderRadius
Convert this instance into a BorderRadius, so that the radii are expressed for specific physical corners (top-left, top-right, etc) rather than in a direction-dependent manner.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited