new constants

This commit is contained in:
Ankit Mahato
2023-03-11 17:36:38 +05:30
parent 5ea8f01217
commit eba7bbac44
2 changed files with 7 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class _EditRequestPaneState extends ConsumerState<EditRequestPane>
super.initState();
_controller = TabController(
length: 3,
animationDuration: const Duration(milliseconds: 200),
animationDuration: tabAnimationDuration,
vsync: this,
);
}
@@ -39,7 +39,7 @@ class _EditRequestPaneState extends ConsumerState<EditRequestPane>
TabBar(
key: Key(activeId),
controller: _controller,
overlayColor: MaterialStateProperty.all<Color>(Colors.transparent),
overlayColor: colorTransparent,
onTap: (index) {
ref
.read(collectionStateNotifierProvider.notifier)