mirror of
https://github.com/flutter/samples.git
synced 2026-04-04 02:32:25 +00:00
[Gallery] Fix divider for bottom sheet demo on web (#300)
* Fix divider for bottom sheet demo on web * Update code_segments.dart
This commit is contained in:
@@ -2696,7 +2696,12 @@ class CodeSegments {
|
|||||||
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: 'Divider'),
|
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.baseStyle, text: '\u000a '),
|
||||||
TextSpan(style: codeStyle.classStyle, text: 'Expanded'),
|
TextSpan(style: codeStyle.classStyle, text: 'Expanded'),
|
||||||
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
||||||
@@ -2984,7 +2989,12 @@ class CodeSegments {
|
|||||||
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: 'Divider'),
|
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.baseStyle, text: '\u000a '),
|
||||||
TextSpan(style: codeStyle.classStyle, text: 'Expanded'),
|
TextSpan(style: codeStyle.classStyle, text: 'Expanded'),
|
||||||
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
TextSpan(style: codeStyle.punctuationStyle, text: '('),
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ class _BottomSheetContent extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Divider(),
|
Divider(thickness: 1),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
itemCount: 21,
|
itemCount: 21,
|
||||||
|
|||||||
Reference in New Issue
Block a user