createOutlineEffect function

TextEffect createOutlineEffect({
  1. required Color strokeColor,
  2. required double strokeWidth,
  3. bool fillText = true,
})

Factory function to create outline effect instances.

This function is internal and not exposed in the public API.

Implementation

TextEffect createOutlineEffect({
  required Color strokeColor,
  required double strokeWidth,
  bool fillText = true,
}) {
  return _OutlineEffectImpl(
    strokeColor: strokeColor,
    strokeWidth: strokeWidth,
    fillText: fillText,
  );
}