[SYNC]
This commit is contained in:
@@ -124,16 +124,19 @@ class AstromicSheetHelper {
|
||||
radius: sheetStyle.radius,
|
||||
//
|
||||
child: ChangeNotifierProvider<SheetStore>(
|
||||
create: (BuildContext c) => SheetStore(),
|
||||
child: BaseSheetWidget<T?>(
|
||||
sheetType: SheetType.form,
|
||||
//
|
||||
sheetConfiguration: sheetConfigs,
|
||||
sheetStyle: sheetStyle,
|
||||
//
|
||||
headSectionFormBuilder: headSectionBuilder == null ? null : (AstromicFormController controller) => headSectionBuilder.call(controller, store),
|
||||
contentSectionFormBuilder: (AstromicFormController controller) => contentSectionBuilder(controller, store),
|
||||
footerSectionFormBuilder: footerSectionBuilder == null ? null : (AstromicFormController controller) => footerSectionBuilder.call(controller, store),
|
||||
create: (BuildContext c) => store,
|
||||
child: ListenableBuilder(
|
||||
listenable: store,
|
||||
builder: (_, __) => BaseSheetWidget<T?>(
|
||||
sheetType: SheetType.form,
|
||||
//
|
||||
sheetConfiguration: sheetConfigs,
|
||||
sheetStyle: sheetStyle,
|
||||
//
|
||||
headSectionFormBuilder: headSectionBuilder == null ? null : (AstromicFormController controller) => headSectionBuilder.call(controller, store),
|
||||
contentSectionFormBuilder: (AstromicFormController controller) => contentSectionBuilder(controller, store),
|
||||
footerSectionFormBuilder: footerSectionBuilder == null ? null : (AstromicFormController controller) => footerSectionBuilder.call(controller, store),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -208,7 +211,7 @@ class AstromicSheetHelper {
|
||||
sheetConfiguration: sheetConfigs,
|
||||
sheetStyle: sheetStyle,
|
||||
headSectionScrollerBuilder: headSectionBuilder == null ? null : (ScrollController controller) => headSectionBuilder.call(controller, store),
|
||||
contentSectionScrollBuilder: (ScrollController controller, ScrollPhysics physics) => contentSectionBuilder(controller,physics, store),
|
||||
contentSectionScrollBuilder: (ScrollController controller, ScrollPhysics physics) => contentSectionBuilder(controller, physics, store),
|
||||
footerSectionScrollerBuilder: footerSectionBuilder == null ? null : (ScrollController controller) => footerSectionBuilder.call(controller, store),
|
||||
scrollController: scrollController,
|
||||
scrollPhysics: scrollPhysics,
|
||||
|
||||
Reference in New Issue
Block a user