@ -478,7 +478,7 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Cupertino Navigation Demo' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Cupertino TabBar Demo' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
@ -501,9 +501,7 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' < ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _TabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' >[ ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _TabInfo ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _TabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
@ -514,7 +512,7 @@ class CodeSegments {
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' cupertino Navigation HomeTab' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' cupertino TabBar HomeTab' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoIcons ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoIcons ' ) ,
@ -533,7 +531,7 @@ class CodeSegments {
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' cupertino Navigation ChatTab' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' cupertino TabBar ChatTab' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoIcons ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoIcons ' ) ,
@ -552,8 +550,7 @@ class CodeSegments {
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan (
TextSpan ( style: codeStyle . baseStyle , text: ' cupertinoTabBarProfileTab ' ) ,
style: codeStyle . baseStyle , text: ' cupertinoNavigationProfileTab ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoIcons ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoIcons ' ) ,
@ -643,25 +640,11 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' switch ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' index ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' case ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoTabView ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoTabView ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a builder ' ) ,
style: codeStyle . baseStyle , text: ' \u000a builder ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
@ -672,164 +655,584 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a title ' ) ,
style: codeStyle . baseStyle , text: ' \u000a title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle, text: ' 0 ' ) ,
TextSpan ( style: codeStyle . baseStyle, text: ' index ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a icon ' ) ,
style: codeStyle . baseStyle , text: ' \u000a icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle, text: ' 0 ' ) ,
TextSpan ( style: codeStyle . baseStyle, text: ' index ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle ,
style: codeStyle . baseStyle , text: ' \u000a defaultTitle ' ) ,
text: ' \u000a defaultTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle, text: ' 0 ' ) ,
TextSpan ( style: codeStyle . baseStyle, text: ' index ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' break ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }, ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' case ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' StatelessWidget ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' const ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ({ ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Key ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' key ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @required ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' this ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @required ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' this ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 1 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' super ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' key ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' key ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' final ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' String ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' final ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' IconData ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @override ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Widget ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' build ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' BuildContext ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoTabView ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoPageScaffold ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a navigationBar ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoNavigationBar ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' (), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a backgroundColor ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoColors ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' systemBackground ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Center ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a builder ' ) ,
style: codeStyle . baseStyle , text: ' \u000a semanticLabel ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a size ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 100 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
] ) ;
}
static TextSpan cupertinoSliderDemo ( BuildContext context ) {
final CodeStyle codeStyle = CodeStyle . of ( context ) ;
return TextSpan ( children: [
TextSpan (
style: codeStyle . commentStyle ,
text: ' // Copyright 2019 The Flutter team. All rights reserved. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan (
style: codeStyle . commentStyle ,
text:
' // Use of this source code is governed by a BSD-style license that can be ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan (
style: codeStyle . commentStyle , text: ' // found in the LICENSE file. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' import ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan (
style: codeStyle . stringStyle ,
text: ' \u0027 package:flutter/cupertino.dart \u0027 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' import ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan (
style: codeStyle . stringStyle ,
text: ' \u0027 package:gallery/l10n/gallery_localizations.dart \u0027 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSliderDemo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' StatefulWidget ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @override ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoSliderDemoState ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' createState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' () ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' => ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoSliderDemoState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' (); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoSliderDemoState ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' State ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' < ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSliderDemo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' > ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' double ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 25.0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' double ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _discreteValue ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 20.0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @override ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Widget ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' build ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' BuildContext ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' => ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoPageScaffold ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a navigationBar ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoNavigationBar ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a middle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Text ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' GalleryLocalizations ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' demoCupertinoSliderTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' DefaultTextStyle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a style ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoTheme ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' textTheme ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' textStyle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Center ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Column ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a title ' ) ,
style: codeStyle . baseStyle ,
text: ' \u000a mainAxisAlignment ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' MainAxisAlignment ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' spaceEvenly ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a children ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 1 ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Column ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a mainAxisSize ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' MainAxisSize ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' min ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a icon ' ) ,
style: codeStyle . baseStyle , text: ' \u000a childre n' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 1 ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' SizedBox ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a width ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' double ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' infinity ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSlider ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a min ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 0.0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a max ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 100.0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a onChanged ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a setState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' (() ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a _value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }); ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }, ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' MergeSemantics ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle ,
style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
text: ' \u000a defaultTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Text ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' GalleryLocalizations ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' demoCupertinoSliderContinuous ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a _value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' toStringAsFixed ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 1 ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 1 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan (
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' break ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ], ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Column ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a mainAxisSize ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' MainAxisSize ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' min ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a children ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' SizedBox ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a width ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' double ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' infinity ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSlider ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _discreteValue ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a min ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 0.0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a max ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 100.0 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a divisions ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 5 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a onChanged ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a setState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' (() ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a _discreteValue ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }); ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }, ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' case ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 2 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoTabView ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' MergeSemantics ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a builder ' ) ,
style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Text ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' GalleryLocalizations ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan (
TextSpan ( style: codeStyle . punctuationStyle , text: ' => ' ) ,
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle, text: ' . ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . baseStyle, text: ' demoCupertinoSliderDiscrete ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a title ' ) ,
style: codeStyle . baseStyle ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
text: ' \u000a _discreteValue ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' toStringAsFixed ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 2 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 1 ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a icon ' ) ,
style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 2 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a defaultTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _tabInfo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' [ ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 2 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ]. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' break ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ], ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' return ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ], ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' null ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }, ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
@ -839,60 +1242,79 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
] ) ;
}
static TextSpan cupertinoSwitchDemo ( BuildContext context ) {
final CodeStyle codeStyle = CodeStyle . of ( context ) ;
return TextSpan ( children: [
TextSpan (
style: codeStyle . commentStyle ,
text: ' // Copyright 2019 The Flutter team. All rights reserved. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan (
style: codeStyle . commentStyle ,
text:
' // Use of this source code is governed by a BSD-style license that can be ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan (
style: codeStyle . commentStyle , text: ' // found in the LICENSE file. ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' import ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan (
style: codeStyle . stringStyle ,
text: ' \u0027 package:flutter/cupertino.dart \u0027 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' import ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan (
style: codeStyle . stringStyle ,
text: ' \u0027 package:gallery/l10n/gallery_localizations.dart \u0027 ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSwitch Demo' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' StatelessWidget ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' State fu lWidget' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' const ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @override ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoDemoTab ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ({ ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Key ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' key ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @required ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoSwitchDemoState ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' createState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' () ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' this ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' => ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @required ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' this ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' _CupertinoSwitchDemoState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' (); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }) ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' class ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . classStyle, text: ' _CupertinoSwitchDemoState ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' super ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' extends ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' key ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' key ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' final ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' String ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' State ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' < ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSwitchDemo ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' > ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' final ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' bool ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _switchValue ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' IconData ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' false ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' icon ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a \u000a ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @override ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' @override ' ) ,
@ -914,14 +1336,26 @@ class CodeSegments {
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoNavigationBar ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoNavigationBar ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a backgroundColor ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a middle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoColors ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Text ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' GalleryLocalizations ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' systemBackground ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' demoSelectionControlsSwitchTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
@ -930,20 +1364,59 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Icon ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Semantics ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a icon ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a container ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' true ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan (
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a label ' ) ,
style: codeStyle . baseStyle , text: ' \u000a semanticLabel ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' title ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' GalleryLocalizations ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' demoSelectionControlsSwitchTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a size ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . numberStyle , text: ' 100 ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' CupertinoSwitch ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' _switchValue ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a onChanged ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ) ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' \u000a setState ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' (() ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' { ' ) ,
TextSpan (
style: codeStyle . baseStyle ,
text: ' \u000a _switchValue ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' = ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' value ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ; ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' }, ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
@ -3420,6 +3893,28 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Semantics ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a container ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . keywordStyle , text: ' true ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a label ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' GalleryLocalizations ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' . ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' of ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' context ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ). ' ) ,
TextSpan (
style: codeStyle . baseStyle , text: ' demoSelectionControlsSwitchTitle ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' , ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a child ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' : ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Switch ' ) ,
TextSpan ( style: codeStyle . classStyle , text: ' Switch ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ( ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a value ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a value ' ) ,
@ -3450,6 +3945,8 @@ class CodeSegments {
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ), ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' ); ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . baseStyle , text: ' \u000a ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,
TextSpan ( style: codeStyle . punctuationStyle , text: ' } ' ) ,