DetailsPage.rich constructor

const DetailsPage.rich({
  1. Key? key,
  2. required String title,
  3. required List details,
  4. required void onChanged(
    1. List
    ),
})

Implementation

const DetailsPage.rich(
    {Key? key,
    required this.title,
    required List<dynamic> details,
    required void Function(List<dynamic>) onChanged})
    : this.isRich = true,
      this.onRichChanged = onChanged,
      this.richDetails = details,
      this.onChanged = null,
      this.details = null,
      super(key: key);