iosSection method

Widget iosSection()

Implementation

Widget iosSection() {
  return CupertinoSettingsSection(
    tiles!,
    header: Column(
      mainAxisSize: MainAxisSize.min,
      mainAxisAlignment: MainAxisAlignment.start,
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        if (title != null || titleWidget != null)
          titleWidget ??
              Text(
                title!,
                style: titleTextStyle,
                maxLines: maxLines,
                overflow: TextOverflow.ellipsis,
              ),
        if (subtitle != null)
          Padding(
            padding: subtitlePadding,
            child: subtitle,
          ),
      ],
    ),
    headerPadding: titlePadding!,
  );
}