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