anchor.diff:        ],
       ),
       GalleryDemo(
  -      title: GalleryLocalizations.of(context).demoBottomSheetTitle,
  +      title: localizations.demoBottomSheetTitle,
         icon: GalleryIcons.bottomSheets,
  -      subtitle: GalleryLocalizations.of(context).demoBottomSheetSubtitle,
  -      configurations: [
  -        GalleryDemoConfiguration(
  -          title:
  -              GalleryLocalizations.of(context).demoBottomSheetPersistentTitle,
  -          description: GalleryLocalizations.of(context)
  -              .demoBottomSheetPersistentDescription,
  -          documentationUrl:
  -              'https://api.flutter.dev/flutter/material/BottomSheet-class.html',
  +      subtitle: localizations.demoBottomSheetSubtitle,
  +      configurations: [
  +        GalleryDemoConfiguration(
  +          title: localizations.demoBottomSheetPersistentTitle,
  +          description: localizations.demoBottomSheetPersistentDescription,
  +          documentationUrl: '$_docsBaseUrl/material/BottomSheet-class.html',
             buildRoute: (_) =>
                 BottomSheetDemo(type: BottomSheetDemoType.persistent),
             code: CodeSegments.bottomSheetDemoPersistent,
           ),
           GalleryDemoConfiguration(
  -          title: GalleryLocalizations.of(context).demoBottomSheetModalTitle,
  -          description:
  -              GalleryLocalizations.of(context).demoBottomSheetModalDescription,
  -          documentationUrl:
  -              'https://api.flutter.dev/flutter/material/BottomSheet-class.html',
  +          title: localizations.demoBottomSheetModalTitle,
  +          description: localizations.demoBottomSheetModalDescription,
  +          documentationUrl: '$_docsBaseUrl/material/BottomSheet-class.html',
             buildRoute: (_) => BottomSheetDemo(type: BottomSheetDemoType.modal),
             code: CodeSegments.bottomSheetDemoModal,
           ),
         ],
       ),
       GalleryDemo(
  -      title: GalleryLocalizations.of(context).demoButtonTitle,
  +      title: localizations.demoButtonTitle,
         icon: GalleryIcons.genericButtons,
  -      subtitle: GalleryLocalizations.of(context).demoButtonSubtitle,
  -      configurations: [
  -        GalleryDemoConfiguration(
  -          title: GalleryLocalizations.of(context).demoFlatButtonTitle,
  -          description:
  -              GalleryLocalizations.of(context).demoFlatButtonDescription,
  +      subtitle: localizations.demoButtonSubtitle,
  +      configurations: [
  +        GalleryDemoConfiguration(
  +          title: localizations.demoFlatButtonTitle,
  +          description: localizations.demoFlatButtonDescription,
             documentationUrl:
                 'https://docs.flutter.io/flutter/material/FlatButton-class.html',
             buildRoute: (_) => ButtonDemo(type: ButtonDemoType.flat),
             code: CodeSegments.buttonDemoFlat,
           ),
           GalleryDemoConfiguration(
  -          title: GalleryLocalizations.of(context).demoRaisedButtonTitle,
  -          description:
  -              GalleryLocalizations.of(context).demoRaisedButtonDescription,
  +          title: localizations.demoRaisedButtonTitle,
  +          description: localizations.demoRaisedButtonDescription,
             documentationUrl:
                 'https://docs.flutter.io/flutter/material/RaisedButton-class.html',
             buildRoute: (_) => ButtonDemo(type: ButtonDemoType.raised),
             code: CodeSegments.buttonDemoRaised,
           ),
           GalleryDemoConfiguration(
  -          title: GalleryLocalizations.of(context).demoOutlineButtonTitle,
  -          description:
  -              GalleryLocalizations.of(context).demoOutlineButtonDescription,
  +          title: localizations.demoOutlineButtonTitle,
  +          description: localizations.demoOutlineButtonDescription,
             documentationUrl:
                 'https://docs.flutter.io/flutter/material/OutlineButton-class.html',
             buildRoute: (_) => ButtonDemo(type: ButtonDemoType.outline),
             code: CodeSegments.buttonDemoOutline,
           ),
           GalleryDemoConfiguration(
  -          title: GalleryLocalizations.of(context).demoToggleButtonTitle,
  -          description:
  -              GalleryLocalizations.of(context).demoToggleButtonDescription,
  +          title: localizations.demoToggleButtonTitle,
  +          description: localizations.demoToggleButtonDescription,
             documentationUrl:
                 'https://docs.flutter.io/flutter/material/ToggleButtons-class.html',
             buildRoute: (_) => ButtonDemo(type: ButtonDemoType.toggle),
             code: CodeSegments.buttonDemoToggle,
           ),
           GalleryDemoConfiguration(
  -          title: GalleryLocalizations.of(context).demoFloatingButtonTitle,
  -          description:
  -              GalleryLocalizations.of(context).demoFloatingButtonDescription,
  +          title: localizations.demoFloatingButtonTitle,
  +          description: localizations.demoFloatingButtonDescription,
             documentationUrl:
                 'https://docs.flutter.io/flutter/material/FloatingActionButton-class.html',
             buildRoute: (_) => ButtonDemo(type: ButtonDemoType.floating),
  
positive.code:       ],
      ),
      GalleryDemo(
        title: GalleryLocalizations.of(context).demoSnackbarsTitle,
        icon: GalleryIcons.snackbar,
        subtitle: GalleryLocalizations.of(context).demoSnackbarsSubtitle,
        configurations: [
          GalleryDemoConfiguration(
            title: GalleryLocalizations.of(context).demoSnackbarsTitle,
            description:
                GalleryLocalizations.of(context).demoSnackbarsDescription,
            documentationUrl:
                'https://api.flutter.dev/flutter/material/SnackBar-class.html',
            buildRoute: (context) => SnackbarsDemo(),
            code: CodeSegments.snackbarsDemo,
          ),
        ],
      ),
      GalleryDemo(
        title: GalleryLocalizations.of(context).demoTabsTitle,
        icon: GalleryIcons.tabs,
        subtitle: GalleryLocalizations.of(context).demoTabsSubtitle,
        configurations: [
          GalleryDemoConfiguration(
            title: GalleryLocalizations.of(context).demoTabsTitle,
            description: GalleryLocalizations.of(context).demoTabsDescription,
            documentationUrl:
                'https://api.flutter.dev/flutter/material/TabBarView-class.html',
            buildRoute: (context) => TabsDemo(),
            code: CodeSegments.tabsDemo,
          ),
        ],
      ),
      GalleryDemo(
        title: GalleryLocalizations.of(context).demoTextFieldTitle,
        icon: GalleryIcons.textFieldsAlt,
        subtitle: GalleryLocalizations.of(context).demoTextFieldSubtitle,
        configurations: [
          GalleryDemoConfiguration(
            title: GalleryLocalizations.of(context).demoTextFieldTitle,
            description:
                GalleryLocalizations.of(context).demoTextFieldDescription,
            documentationUrl:
                'https://api.flutter.dev/flutter/material/TextField-class.html',
            buildRoute: (_) => TextFieldDemo(),
            code: CodeSegments.textFieldDemo,
          ),
        ],
      ),
      GalleryDemo(
        title: GalleryLocalizations.of(context).demoTooltipTitle,
        icon: GalleryIcons.tooltip,
        subtitle: GalleryLocalizations.of(context).demoTooltipSubtitle,
        configurations: [
          GalleryDemoConfiguration(
            title: GalleryLocalizations.of(context).demoTooltipTitle,
            description: GalleryLocalizations.of(context).demoTooltipDescription,
            documentationUrl:
                'https://api.flutter.dev/flutter/material/Tooltip-class.html',
            buildRoute: (_) => TooltipDemo(),
            code: CodeSegments.tooltipDemo,
          ),
  
negative.code: }
  
  List<GalleryDemo> cupertinoDemos(BuildContext context) {
    final localizations = GalleryLocalizations.of(context);
    return [
      GalleryDemo(
        title: localizations.demoCupertinoActivityIndicatorTitle,
        icon: GalleryIcons.cupertinoProgress,
        subtitle: localizations.demoCupertinoActivityIndicatorSubtitle,
        configurations: [
          GalleryDemoConfiguration(
            title: localizations.demoCupertinoActivityIndicatorTitle,
            description: localizations.demoCupertinoActivityIndicatorDescription,
            documentationUrl:
                '$_docsBaseUrl/cupertino/CupertinoActivityIndicator-class.html',
            buildRoute: (_) => CupertinoProgressIndicatorDemo(),
            code: CodeSegments.cupertinoActivityIndicatorDemo,
          ),
        ],
      ),
      GalleryDemo(
        title: localizations.demoCupertinoAlertsTitle,
        icon: GalleryIcons.dialogs,
        subtitle: localizations.demoCupertinoAlertsSubtitle,
        configurations: [
          GalleryDemoConfiguration(
            title: localizations.demoCupertinoAlertTitle,
            description: localizations.demoCupertinoAlertDescription,
            documentationUrl:
                '$_docsBaseUrl/cupertino/CupertinoAlertDialog-class.html',
            buildRoute: (_) => CupertinoAlertDemo(type: AlertDemoType.alert),
            code: CodeSegments.cupertinoAlertDemo,
          ),
          GalleryDemoConfiguration(
            title: localizations.demoCupertinoAlertWithTitleTitle,
            description: localizations.demoCupertinoAlertDescription,
            documentationUrl:
                '$_docsBaseUrl/cupertino/CupertinoAlertDialog-class.html',
            buildRoute: (_) => CupertinoAlertDemo(type: AlertDemoType.alertTitle),
            code: CodeSegments.cupertinoAlertDemo,
          ),
          GalleryDemoConfiguration(
            title: localizations.demoCupertinoAlertButtonsTitle,
            description: localizations.demoCupertinoAlertDescription,
            documentationUrl:
                '$_docsBaseUrl/cupertino/CupertinoAlertDialog-class.html',
            buildRoute: (_) =>
                CupertinoAlertDemo(type: AlertDemoType.alertButtons),
            code: CodeSegments.cupertinoAlertDemo,
          ),
          GalleryDemoConfiguration(
            title: localizations.demoCupertinoAlertButtonsOnlyTitle,
            description: localizations.demoCupertinoAlertDescription,
            documentationUrl:
                '$_docsBaseUrl/cupertino/CupertinoAlertDialog-class.html',
            buildRoute: (_) =>
                CupertinoAlertDemo(type: AlertDemoType.alertButtonsOnly),
            code: CodeSegments.cupertinoAlertDemo,
          ),
          GalleryDemoConfiguration(
            title: localizations.demoCupertinoActionSheetTitle,
            description: localizations.demoCupertinoActionSheetDescription,
            documentationUrl:
                '$_docsBaseUrl/cupertino/CupertinoActionSheet-class.html',
            buildRoute: (_) =>
                CupertinoAlertDemo(type: AlertDemoType.actionSheet),
            code: CodeSegments.cupertinoAlertDemo,
  