XGetBind constructor

const XGetBind({
  1. Key? key,
  2. GetxController? bind,
  3. String? tag,
  4. List<GetxController>? binds,
  5. List<String>? tags,
  6. required Widget child,
})

Implementation

const XGetBind({
  Key? key,
  this.bind,
  this.tag,
  this.binds,
  this.tags,
  required this.child,
})   : assert(
        binds == null || tags == null || binds.length == tags.length,
        'The binds and tags arrays length should be equal\n'
        'and the elements in the two arrays correspond one-to-one',
      ),
      super(key: key);