Scale

Utilities for controlling the scaling of widgets.

The scaling construct utilities are defined inside StiloTransformScale
name scaling
scale0
0%
scale50
50%
scale75
75%
scale90
90%
scale95
95%
scale100
100%
scale105
105%
scale110
110%
scale125
125%
scale150
150%

Usage Example

Center(
    child: Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        StiloTransformScale.scale150(
          child: Container(
            width: StiloWidth.w64,
            height: StiloHeight.h36,
            decoration: BoxDecoration(
              color: StiloColor.blue[500],
              borderRadius: StiloBorderRadius.allMd,
              boxShadow: StiloBoxShadow.xl,
            ),
          ),
        ),
      ],
    ),
  )