4Q-s-r-o / signature

Flutter plugin that creates a canvas for writing down a signature
MIT License
252 stars 83 forks source link

Signature Overflowing #78

Closed leandrogaldino closed 1 year ago

leandrogaldino commented 1 year ago

Why is my signature overflowing at the bottom and right?

@override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: const Text("SIGNATURE")),
        body: Padding(
            padding: const EdgeInsets.all(30),
            child: Signature(
              backgroundColor: const Color.fromARGB(255, 235, 212, 138),
              controller: AppController.instance.signatureController,
            )));
  }

capture

rivella50 commented 1 year ago

@leandrogaldino Try this: https://github.com/4Q-s-r-o/signature/issues/58#issuecomment-1154800152

leandrogaldino commented 1 year ago

@leandrogaldino Try this: #58 (comment)

sorry, I didn't realize there was already an answer to this in the closed issues. I'm also starting to use GitHub now, I've only seen the open issues. Now I realized that there are closed ones to look at too.

With ClipRect it worked perfectly.