Unverified Commit 8db31a55 authored by Jose Alba's avatar Jose Alba Committed by GitHub

Divider with subheader example update (#65944)

* Divider with subheader example update

* fixed issues

* Addressed comments

* fixed issues
parent 73b63989
......@@ -49,15 +49,27 @@ import 'theme.dart';
/// ),
/// ),
/// const Divider(
/// color: Colors.black,
/// height: 20,
/// thickness: 5,
/// indent: 20,
/// endIndent: 0,
/// endIndent: 20,
/// ),
/// // Subheader example from Material spec.
/// // https://material.io/components/dividers#types
/// Container(
/// padding: const EdgeInsets.only(left: 20),
/// child: Align(
/// alignment: AlignmentDirectional.centerStart,
/// child: Text(
/// 'Subheader',
/// style: Theme.of(context).textTheme.caption,
/// textAlign: TextAlign.start,
/// ),
/// ),
/// ),
/// Expanded(
/// child: Container(
/// color: Colors.blue,
/// color: Theme.of(context).colorScheme.primary,
/// child: const Center(
/// child: Text('Below'),
/// ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment