mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: custom spring (#304)
This commit is contained in:
committed by
GitHub
parent
6506afa732
commit
b2c520bd91
@@ -10,6 +10,7 @@ import 'package:PiliPlus/common/widgets/network_img_layer.dart';
|
||||
import 'package:PiliPlus/utils/feed_back.dart';
|
||||
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
|
||||
import './controller.dart';
|
||||
import 'package:PiliPlus/common/widgets/spring_physics.dart';
|
||||
|
||||
class HomePage extends StatefulWidget {
|
||||
const HomePage({super.key});
|
||||
@@ -73,6 +74,7 @@ class _HomePageState extends State<HomePage>
|
||||
const SizedBox(height: 6),
|
||||
Expanded(
|
||||
child: TabBarView(
|
||||
physics: customTabBarViewScrollPhysics,
|
||||
controller: _homeController.tabController,
|
||||
children: _homeController.tabsPageList,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user