remove passing of context as argument unwantedly
This commit is contained in:
parent
7dfb7024c0
commit
d68a789f8a
|
@ -71,7 +71,7 @@ class _ExpandableMenuItemWidgetState extends State<ExpandableMenuItemWidget> {
|
|||
padding: const EdgeInsets.only(bottom: 4),
|
||||
child: widget.selectionOptionsWidget,
|
||||
),
|
||||
theme: getExpandableTheme(context),
|
||||
theme: getExpandableTheme(),
|
||||
controller: expandableController,
|
||||
),
|
||||
),
|
||||
|
|
|
@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
|
|||
|
||||
Widget sectionOptionSpacing = const SizedBox(height: 6);
|
||||
|
||||
ExpandableThemeData getExpandableTheme(BuildContext context) {
|
||||
ExpandableThemeData getExpandableTheme() {
|
||||
return const ExpandableThemeData(
|
||||
hasIcon: false,
|
||||
useInkWell: false,
|
||||
|
|
Loading…
Reference in a new issue