CustomWidget extension
A Dart extension for customizing the size and behavior of widgets.
- on
Methods
-
cAspectRatio(
double ratio) → Widget -
Available on Widget, provided by the CustomWidget extension
Create a widget with a specific aspect ratio. -
cHero(
Object tag) → Widget -
Available on Widget, provided by the CustomWidget extension
Create a widget for hero animations. -
cPreferSize(
double h) → PreferredSizeWidget -
Available on Widget, provided by the CustomWidget extension
Create a widget with a preferred size. -
cSizedBox(
double? h, double? w) → Widget -
Available on Widget, provided by the CustomWidget extension
Create a widget with a fixed size.