PreferencesRoot constructor

const PreferencesRoot({
  1. Key? key,
  2. String? title,
  3. Widget? customAppBar,
})

Implementation

const PreferencesRoot({super.key, this.title, this.customAppBar})
  : assert(
      title != null || customAppBar != null,
      'Either title or customAppBar must be provided',
    );