DirectLinkField constructor

const DirectLinkField(
  1. ChatDirectLink? link, {
  2. Key? key,
  3. FutureOr<void> onSubmit(
    1. ChatDirectLinkSlug?
    )?,
  4. Uint8List? background,
  5. void onEditing(
    1. bool
    )?,
})

Implementation

const DirectLinkField(
  this.link, {
  super.key,
  this.onSubmit,
  this.background,
  this.onEditing,
});