Skip to content

Commit

Permalink
style: use_string_in_part_of_directives
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelongqy committed Apr 26, 2024
1 parent 764c75e commit c7da37b
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion lib/src/behavior/scroll_behavior.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../easy_refresh.dart';

/// Define [ScrollBehavior] in the scope of EasyRefresh.
/// Add support for web and PC.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/controller/controller.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../easy_refresh.dart';

/// Controls a EasyRefresh widget.
/// Control refresh, loading and indicator states.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/easy_paging.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_paging;
part of '../easy_paging.dart';

/// Paging item builder.
typedef EasyPagingItemBuilder<ItemType> = Widget Function(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/easy_refresh.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../easy_refresh.dart';

/// EasyRefresh child builder.
/// Provide [ScrollPhysics], and use it in your [ScrollView].
Expand Down
2 changes: 1 addition & 1 deletion lib/src/indicator/footer/footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Footer indicator.
abstract class Footer extends Indicator {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/indicator/footer/footer_locator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Find Footer's Location
/// Put the last item in the list
Expand Down
2 changes: 1 addition & 1 deletion lib/src/indicator/header/header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Header indicator.
abstract class Header extends Indicator {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/indicator/header/header_locator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Find Header's Location
/// Put the first item in the list
Expand Down
2 changes: 1 addition & 1 deletion lib/src/indicator/indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../easy_refresh.dart';

/// The default opening speed of the secondary.
const kDefaultSecondaryVelocity = 3000.0;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/notifier/indicator_notifier.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ignore_for_file: invalid_use_of_visible_for_testing_member

part of easy_refresh;
part of '../../easy_refresh.dart';

/// Indicator widget builder.
typedef CanProcessCallBack = bool Function();
Expand Down
2 changes: 1 addition & 1 deletion lib/src/physics/scroll_physics.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../easy_refresh.dart';

/// The multiple applied to overscroll to make it appear that scrolling past
/// the edge of the scrollable contents is harder than scrolling the list.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/bezier_background.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Spring used by bezier curves.
physics.SpringDescription kBezierSpringBuilder({
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/bezier_circle_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

const _kBallRadius = 16.0;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/bezier_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// A builder that builds a spin widget.
/// [context] BuildContext.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/footer/bezier_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Bezier footer.
class BezierFooter extends Footer {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/header/bezier_circle_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Bezier circle footer.
/// https://dribbble.com/shots/1797373-Pull-Down-To-Refresh
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/header/bezier_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Bezier header.
class BezierHeader extends Header {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/bezier/spin/hour_glass.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Code from [https://github.com/jogboms/flutter_spinkit].
/// flutter_spinkit LICENSE [https://github.com/jogboms/flutter_spinkit/blob/master/LICENSE].
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/classic/classic_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Pull icon widget builder.
typedef CIPullIconBuilder = Widget Function(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/classic/footer/classic_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Classic footer.
class ClassicFooter extends Footer {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/cupertino/cupertino_activity_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

const double _kDefaultIndicatorRadius = 10.0;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/cupertino/cupertino_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

const double _kDefaultCupertinoIndicatorRadius = 14.0;
const double _kDefaultWaterDropCupertinoIndicatorRadius = 10.0;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/cupertino/footer/cupertino_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Cupertino footer.
/// https://github.com/THEONE10211024/WaterDropListView
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/cupertino/header/cupertino_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Cupertino header.
/// https://github.com/THEONE10211024/WaterDropListView
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/delivery/delivery_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Delivery indicator disappear animation duration.
const kDeliveryDisappearDuration = Duration(milliseconds: 500);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/delivery/footer/delivery_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Delivery footer.
/// https://dribbble.com/shots/2753803-Refresh-your-delivery
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/delivery/header/delivery_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Delivery footer.
/// https://dribbble.com/shots/2753803-Refresh-your-delivery
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/material/footer/material_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Material footer.
class MaterialFooter extends Footer {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/material/header/material_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Material header.
class MaterialHeader extends Header {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/material/material_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// See [ProgressIndicator] _kMinCircularProgressIndicatorSize.
const double _kCircularProgressIndicatorSize = 48;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/phoenix/footer/phoenix_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Phoenix footer.
/// https://github.com/Yalantis/Phoenix
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/phoenix/header/phoenix_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Phoenix header.
/// https://github.com/Yalantis/Phoenix
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/phoenix/phoenix_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Bezier indicator.
/// Base widget for [PhoenixHeader] and [PhoenixFooter].
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/taurus/footer/taurus_footer.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Taurus footer.
/// https://github.com/Yalantis/Taurus
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/taurus/header/taurus_header.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../../easy_refresh.dart';

/// Taurus header.
/// https://github.com/Yalantis/Taurus
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/taurus/taurus_indicator.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of easy_refresh;
part of '../../../easy_refresh.dart';

/// Taurus indicator disappear animation duration.
const kTaurusDisappearDuration = Duration(milliseconds: 250);
Expand Down

0 comments on commit c7da37b

Please sign in to comment.