GroupNestedPuncher class

GroupNestedPuncher is widget take car for common use like nested avatars ans so on it use a list of NestedPuncher to achieve the same result by using Puncher widget

GroupNestedPuncher(
  radius: 50,
  overlap: 0.5,
  children: [
    CircleAvatar(
      radius: 50,
      backgroundImage: NetworkImage(
          'https://avatars.githubusercontent.com/u/19484515?v=4'),
    ),
    CircleAvatar(
      radius: 50,
      backgroundImage: NetworkImage(
          'https://avatars.githubusercontent.com/u/19484515?v=4'),
    ),
  ],
);

Warning: GroupNestedPuncher is highly experimental and may change in future

Inheritance

Constructors

GroupNestedPuncher({Key? key, required double radius, double overlap = 0.6, bool enabled = true, Shaper? shape, double margin = 2, bool inner = true, bool outer = true, List<PuncherClip> punchers = const [], Axis axis = Axis.horizontal, required List<Widget> children})
const

Properties

axis Axis
axis is the axis of the list of children
final
children List<Widget>
children is the list of child widget to be punched
final
enabled bool
enabled is the enable state of the puncher for easy control
final
hashCode int
The hash code for this object.
no setterinherited
inner bool
inner is the enable state of the inner shape
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin double
margin is the margin between the outer and inner shape
final
outer bool
outer is the enable state of the outer shape
final
overlap double
overlap is the overlap between the outer and inner shape value between 0 and 1
final
punchers List<PuncherClip>
punchers is the list of punchers to be used
final
radius double
radius is the radius of the outer circle or the shape
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape → Shaper?
shape is the shape of the puncher for example CircleShape or RectangleShape ...
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited