-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triangle Nip #12
Comments
import 'dart:ui'; enum BubbleNip { no, leftTop, leftBottom, rightTop, rightBottom, left } /// Class BubbleEdges is an analog of EdgeInsets, but default values are null. const BubbleEdges.all(double value) const BubbleEdges.only({ const BubbleEdges.symmetric({ final double left; static get zero => BubbleEdges.all(0); EdgeInsets get edgeInsets => EdgeInsets.fromLTRB(left ?? 0, top ?? 0, right ?? 0, bottom ?? 0); @OverRide class BubbleStyle { final Radius radius; class BubbleClipper extends CustomClipper {
} final Radius radius; double _startOffset; // Offsets of the bubble get edgeInsets { @OverRide
} @OverRide class Bubble extends StatelessWidget { final Widget child; Widget build(context) { |
@anasmuhamad98 Did you resolve it? Why don't you do pull-request? |
https://github.com/vi-k/bubble/issues/14 Thanks, shinriyo. |
@vi-k you're welcome. |
can i have the nip as a even triangle? please
The text was updated successfully, but these errors were encountered: