remove passing of context as argument unwantedly

This commit is contained in:
ashilkn 2022-12-01 11:39:06 +05:30
parent 7dfb7024c0
commit d68a789f8a
2 changed files with 2 additions and 2 deletions

View file

@ -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,
),
),

View file

@ -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,