Initial commit
This commit is contained in:
13
lib/features/home/presentation/mixin/home_mixin.dart
Normal file
13
lib/features/home/presentation/mixin/home_mixin.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
mixin HomeMixin {
|
||||
late ScrollController scrollController;
|
||||
|
||||
void initControllers() {
|
||||
scrollController = ScrollController();
|
||||
}
|
||||
|
||||
void disposeControllers() {
|
||||
scrollController.dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user