TwRounded<T> mixin

Mixin that provides Tailwind-like rounded methods for any widget

Mixin applications

Properties

copyWith → T Function(TwStyle newStyle)
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TwStyle
no setter

Methods

applyRounded(BuildContext context, Widget child) Widget
Applies rounded styling to a widget using the resolved BorderRadius
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveRounded(BuildContext context) BorderRadius
Resolves rounded styling from TwStyle and TwConfig into BorderRadius
rounded([String size = '']) → T
Set uniform rounded styling using Tailwind scale
roundedB([String size = '']) → T
Set bottom rounded styling (bottom-left + bottom-right) using Tailwind scale
roundedBl([String size = '']) → T
Set bottom-left rounded styling using Tailwind scale
roundedBr([String size = '']) → T
Set bottom-right rounded styling using Tailwind scale
roundedL([String size = '']) → T
Set left rounded styling (top-left + bottom-left) using Tailwind scale
roundedR([String size = '']) → T
Set right rounded styling (top-right + bottom-right) using Tailwind scale
roundedT([String size = '']) → T
Set top rounded styling (top-left + top-right) using Tailwind scale
roundedTl([String size = '']) → T
Set top-left rounded styling using Tailwind scale
roundedTr([String size = '']) → T
Set top-right rounded styling using Tailwind scale
toString() String
A string representation of this object.
inherited

Operators

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