删除埋点,im和客服
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:jydj/assets_tool/app_colors.dart';
|
||||
import 'package:jydj/hj_utils/holiday_theme.dart';
|
||||
|
||||
class CommunitySortHeader extends StatefulWidget {
|
||||
final Function(int sort) sortOnTap;
|
||||
final TabController? controller;
|
||||
final bool isInTop; //吸顶时才在节日主题下叠渐变底
|
||||
const CommunitySortHeader({
|
||||
super.key,
|
||||
required this.sortOnTap,
|
||||
this.controller,
|
||||
this.isInTop = false,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -44,16 +41,6 @@ class _CommunitySortHeaderState extends State<CommunitySortHeader> with SingleTi
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.primaryColor,
|
||||
gradient: (widget.isInTop && holidayTheme.openHoliday)
|
||||
? LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
Color(0xff3e161c),
|
||||
Color(0xff26161c),
|
||||
],
|
||||
)
|
||||
: null,
|
||||
),
|
||||
child: TabBar(
|
||||
isScrollable: true,
|
||||
|
||||
Reference in New Issue
Block a user