FeedController constructor
FeedController({
- double? initialOffset,
- bool? keepScrollOffset,
- String? debugLabel,
- FeedGridViewDelegate? gridDelegate,
Default constructor Creates the nested controllers
Implementation
factory FeedController({
double? initialOffset,
bool? keepScrollOffset,
String? debugLabel,
FeedGridViewDelegate? gridDelegate
}){
return FeedController._(
ScrollController(
debugLabel: debugLabel ?? 'SimpleFeedScrollController-' + UniqueKey().toString(),
initialScrollOffset: initialOffset ?? 0.0,
keepScrollOffset: keepScrollOffset ?? true
),
gridDelegate
);
}