backgroundImageAsset method

SelectMenuItemStyler backgroundImageAsset(
  1. String path, {
  2. BoxFit? fit,
  3. AlignmentGeometry? alignment,
  4. ImageRepeat repeat = .noRepeat,
})

Implementation

SelectMenuItemStyler backgroundImageAsset(
  String path, {
  BoxFit? fit,
  AlignmentGeometry? alignment,
  ImageRepeat repeat = .noRepeat,
}) {
  return container(
    FlexBoxStyler().backgroundImageAsset(
      path,
      fit: fit,
      alignment: alignment,
      repeat: repeat,
    ),
  );
}