[Gallery] Fix divider for bottom sheet demo on web (#300)

* Fix divider for bottom sheet demo on web

* Update code_segments.dart
pull/303/head
Pierre-Louis 5 years ago committed by GitHub
parent 2f017a747a
commit 7a6f443b88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2696,7 +2696,12 @@ class CodeSegments {
TextSpan(style: codeStyle.punctuationStyle, text: '),'),
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
TextSpan(style: codeStyle.classStyle, text: 'Divider'),
TextSpan(style: codeStyle.punctuationStyle, text: '(),'),
TextSpan(style: codeStyle.punctuationStyle, text: '('),
TextSpan(style: codeStyle.baseStyle, text: 'thickness'),
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
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.classStyle, text: 'Expanded'),
TextSpan(style: codeStyle.punctuationStyle, text: '('),
@ -2984,7 +2989,12 @@ class CodeSegments {
TextSpan(style: codeStyle.punctuationStyle, text: '),'),
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
TextSpan(style: codeStyle.classStyle, text: 'Divider'),
TextSpan(style: codeStyle.punctuationStyle, text: '(),'),
TextSpan(style: codeStyle.punctuationStyle, text: '('),
TextSpan(style: codeStyle.baseStyle, text: 'thickness'),
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
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.classStyle, text: 'Expanded'),
TextSpan(style: codeStyle.punctuationStyle, text: '('),

@ -89,7 +89,7 @@ class _BottomSheetContent extends StatelessWidget {
),
),
),
Divider(),
Divider(thickness: 1),
Expanded(
child: ListView.builder(
itemCount: 21,

Loading…
Cancel
Save