|
|
|
|
@@ -413,6 +413,551 @@ class CodeSegments {
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static TextSpan cupertinoNavigationDemo(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: '\u0027package: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: '\u0027package: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: '_TabInfo'),
|
|
|
|
|
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: '_TabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, 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: ' '),
|
|
|
|
|
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\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'),
|
|
|
|
|
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: 'CupertinoNavigationDemo'),
|
|
|
|
|
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: '@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.keywordStyle, text: 'final'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '='),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, 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.classStyle, text: '_TabInfo'),
|
|
|
|
|
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: 'cupertinoNavigationHomeTab'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ','),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'CupertinoIcons'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '.'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'home'),
|
|
|
|
|
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: '_TabInfo'),
|
|
|
|
|
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: 'cupertinoNavigationChatTab'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ','),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'CupertinoIcons'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '.'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'conversation_bubble'),
|
|
|
|
|
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: '_TabInfo'),
|
|
|
|
|
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: 'cupertinoNavigationProfileTab'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ','),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'CupertinoIcons'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '.'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'profile_circled'),
|
|
|
|
|
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: 'return'),
|
|
|
|
|
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: 'CupertinoTabScaffold'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a tabBar'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'CupertinoTabBar'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a items'),
|
|
|
|
|
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: 'for'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.keywordStyle, text: 'final'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' tabInfo '),
|
|
|
|
|
TextSpan(style: codeStyle.keywordStyle, text: 'in'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ')'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'BottomNavigationBarItem'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a title'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'Text'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '.'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'title'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '),'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a icon'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'Icon'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'tabInfo'),
|
|
|
|
|
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: '\u000a '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '],'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '),'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: '\u000a tabBuilder'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'context'),
|
|
|
|
|
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: '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.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'CupertinoTabView'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a builder'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
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: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: '_CupertinoDemoTab'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a title'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '['),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '0'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '].'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'title'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ','),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a icon'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '['),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '0'),
|
|
|
|
|
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: '\u000a defaultTitle'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '['),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '0'),
|
|
|
|
|
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.punctuationStyle, text: ');'),
|
|
|
|
|
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.keywordStyle, text: 'case'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '1'),
|
|
|
|
|
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.classStyle, text: 'CupertinoTabView'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a builder'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
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: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: '_CupertinoDemoTab'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a title'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '['),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '1'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '].'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: 'title'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ','),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a icon'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '['),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '1'),
|
|
|
|
|
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: '\u000a defaultTitle'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' _tabInfo'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '['),
|
|
|
|
|
TextSpan(style: codeStyle.numberStyle, text: '1'),
|
|
|
|
|
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.punctuationStyle, text: ');'),
|
|
|
|
|
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.keywordStyle, text: 'case'),
|
|
|
|
|
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.keywordStyle, text: 'return'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: 'CupertinoTabView'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a builder'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
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: ' '),
|
|
|
|
|
TextSpan(style: codeStyle.classStyle, text: '_CupertinoDemoTab'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
|
|
|
|
TextSpan(
|
|
|
|
|
style: codeStyle.baseStyle, text: '\u000a title'),
|
|
|
|
|
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 icon'),
|
|
|
|
|
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.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.punctuationStyle, text: ');'),
|
|
|
|
|
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.keywordStyle, text: 'return'),
|
|
|
|
|
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.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'),
|
|
|
|
|
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.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.keywordStyle, text: 'return'),
|
|
|
|
|
TextSpan(style: codeStyle.baseStyle, text: ' '),
|
|
|
|
|
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.baseStyle, text: '\u000a icon'),
|
|
|
|
|
TextSpan(style: codeStyle.punctuationStyle, text: ','),
|
|
|
|
|
TextSpan(
|
|
|
|
|
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.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 cupertinoAlertDemo(BuildContext context) {
|
|
|
|
|
final CodeStyle codeStyle = CodeStyle.of(context);
|
|
|
|
|
return TextSpan(children: [
|
|
|
|
|
|