Unverified Commit f26e54bd authored by Mohammad Ghalayini's avatar Mohammad Ghalayini Committed by GitHub

Wrap FilterChip inside a Material widget (#85825)

parent 53125203
...@@ -437,7 +437,8 @@ class _MaterialStateBorderSide extends MaterialStateBorderSide { ...@@ -437,7 +437,8 @@ class _MaterialStateBorderSide extends MaterialStateBorderSide {
/// ///
/// @override /// @override
/// Widget build(BuildContext context) { /// Widget build(BuildContext context) {
/// return FilterChip( /// return Material(
/// child: FilterChip(
/// label: const Text('Select chip'), /// label: const Text('Select chip'),
/// selected: isSelected, /// selected: isSelected,
/// onSelected: (bool value) { /// onSelected: (bool value) {
...@@ -446,6 +447,7 @@ class _MaterialStateBorderSide extends MaterialStateBorderSide { ...@@ -446,6 +447,7 @@ class _MaterialStateBorderSide extends MaterialStateBorderSide {
/// }); /// });
/// }, /// },
/// shape: SelectedBorder(), /// shape: SelectedBorder(),
/// ),
/// ); /// );
/// } /// }
/// ``` /// ```
......
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