From 43cc6f79582cdef7821f3ee6b2c260959962da10 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Wed, 19 Apr 2023 13:09:33 +0900 Subject: [PATCH 1/2] typo --- package/lib/src/addon/modal.dart | 4 ++-- package/lib/src/core/controller.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lib/src/addon/modal.dart b/package/lib/src/addon/modal.dart index 10e00b5..0c821a9 100644 --- a/package/lib/src/addon/modal.dart +++ b/package/lib/src/addon/modal.dart @@ -4,7 +4,7 @@ import 'package:exprollable_page_view/src/core/controller.dart'; import 'package:exprollable_page_view/src/core/view.dart'; import 'package:flutter/material.dart'; -/// Show a [ExprollablePageView] as an modal dialog. +/// Show a [ExprollablePageView] as a modal dialog. Future showModalExprollable( BuildContext context, { required WidgetBuilder builder, @@ -47,7 +47,7 @@ void _defaultDismissBehavior(BuildContext context) => /// This widget adds a translucent background (barrier) and /// *swipe down to dismiss* action to the child page view. /// Use [showModalExprollable] as a convenience method -/// to show the [ExprollablePageView] as an dialog, +/// to show the [ExprollablePageView] as a dialog, /// which wraps the page view with [ModalExprollable]. /// If you want to customize reveal/dismiss behavior of the dialog, /// create your own [PageRoute] and use [ModalExprollable] in it. diff --git a/package/lib/src/core/controller.dart b/package/lib/src/core/controller.dart index d738255..0613cff 100644 --- a/package/lib/src/core/controller.dart +++ b/package/lib/src/core/controller.dart @@ -11,7 +11,7 @@ import 'package:meta/meta.dart'; /// An inherited widget used in [ExprollablePageView] to provides /// its [ExprollablePageController] to its descendants. -/// [ExprollablePageController.of] is an convenience method that obtains +/// [ExprollablePageController.of] is a convenience method that obtains /// the controller sotred in this inherited widget. @internal class InheritedExprollablePageController extends InheritedWidget { From 47bcbe49fea446f275a056de03fce3bc00cb3627 Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Wed, 19 Apr 2023 13:15:21 +0900 Subject: [PATCH 2/2] format to pass static analysis on pub.dev --- package/CHANGELOG.md | 4 ++++ package/lib/src/addon/modal.dart | 2 +- package/lib/src/core/view.dart | 2 +- package/pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index ed38369..118e06e 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.0-beta.6 19-04-2023 + +- Fix #17 + ## 1.0.0-beta.5 18-04-2023 - Add doc comments for public APIs diff --git a/package/lib/src/addon/modal.dart b/package/lib/src/addon/modal.dart index 0c821a9..24681f3 100644 --- a/package/lib/src/addon/modal.dart +++ b/package/lib/src/addon/modal.dart @@ -43,7 +43,7 @@ void _defaultDismissBehavior(BuildContext context) => Navigator.of(context).pop(); /// A widget that makes a [ExprollablePageView] modal dialog style. -/// +/// /// This widget adds a translucent background (barrier) and /// *swipe down to dismiss* action to the child page view. /// Use [showModalExprollable] as a convenience method diff --git a/package/lib/src/core/view.dart b/package/lib/src/core/view.dart index 1da7b3a..d04e424 100644 --- a/package/lib/src/core/view.dart +++ b/package/lib/src/core/view.dart @@ -51,7 +51,7 @@ class ExprollablePageView extends StatefulWidget { /// See [PageView.dragStartBehavior] for more details. final DragStartBehavior dragStartBehavior; - /// Controls whether the widget's pages will respond to [RenderObject.showOnScreen], + /// Controls whether the widget's pages will respond to [RenderObject.showOnScreen], /// which will allow for implicit accessibility scrolling. /// See [PageView.allowImplicitScrolling] for more detials. final bool allowImplicitScrolling; diff --git a/package/pubspec.yaml b/package/pubspec.yaml index 35d51bb..01898c3 100644 --- a/package/pubspec.yaml +++ b/package/pubspec.yaml @@ -1,6 +1,6 @@ name: exprollable_page_view description: Yet another PageView widget that expands its viewport as it scrolls. Exprollable is a coined word combining the words expandable and scrollable. -version: 1.0.0-beta.5 +version: 1.0.0-beta.6 repository: https://github.com/fujidaiti/exprollable_page_view environment: