DecoratedFlagInterfaceExtension<T extends DecoratedFlagInterface> extension
An extension on DecoratedFlagInterface that provides a method to calculate the aspect ratio of the flag based on its width and height.
- on
-
- T
Properties
- calculatedAspectRatio → double?
-
Available on T, provided by the DecoratedFlagInterfaceExtension extension
The calculated aspect ratio of the flag based on its width and height.no setter
Methods
-
toData(
{Widget? flagChild}) → DecoratedFlagData -
Available on T, provided by the DecoratedFlagInterfaceExtension extension
Converts this DecoratedFlagInterface to a DecoratedFlagData instance. -
toThemeData(
{Widget? child}) → DecoratedFlagData -
Available on T, provided by the DecoratedFlagInterfaceExtension extension
Converts this DecoratedFlagInterface to a DecoratedFlagData instance.