mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix compile
This commit is contained in:
parent
2debd0283c
commit
42d1bb84c5
@ -6,7 +6,6 @@ import 'package:flowy_infra/theme_extension.dart';
|
||||
import 'package:flowy_infra_ui/style_widget/hover.dart';
|
||||
import 'package:flowy_infra_ui/style_widget/icon_button.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
class FlowyTab extends StatefulWidget {
|
||||
@ -24,7 +23,6 @@ class FlowyTab extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _FlowyTabState extends State<FlowyTab> {
|
||||
bool _isHovering = false;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@ -72,12 +70,6 @@ class _FlowyTabState extends State<FlowyTab> {
|
||||
);
|
||||
}
|
||||
|
||||
void _setHovering([bool isHovering = false]) {
|
||||
if (mounted) {
|
||||
setState(() => _isHovering = isHovering);
|
||||
}
|
||||
}
|
||||
|
||||
Color _getBackgroundColor() {
|
||||
if (widget.isCurrent) {
|
||||
return Theme.of(context).colorScheme.onSecondaryContainer;
|
||||
|
Loading…
Reference in New Issue
Block a user