Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed explanation. That issue actually comes from the editor, some parameters from the textLayer aren’t marked as required, even though they are. I’ll fix that in the next version.
In the meantime, here’s an example of what you need to add to make it work:

TextLayer(
  /// Add below
  color: Colors.black,
  background: Colors.white,
  colorMode: LayerBackgroundMode.backgroundAndColor,

  text: 'Hello World',
  interaction: LayerInteraction(
    enableEdit: true,
    enableMove: true,
    enableRotate: true,
    enableScale: true,
    enableSelection: true,
  ),
),

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Vishveshwara
Comment options

Answer selected by Vishveshwara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants