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