Skip to content

Commit 04db0bf

Browse files
committed
Release 2.2.13
1 parent 81de939 commit 04db0bf

15 files changed

+497
-130
lines changed

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"android":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"macos":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"linux":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"windows":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"web":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","dependencies":[]}]},"dependencyGraph":[{"name":"smart_auth","dependencies":[]}],"date_created":"2022-10-03 20:47:34.494708","version":"3.0.1"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"android":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"macos":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"linux":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"windows":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","native_build":true,"dependencies":[]}],"web":[{"name":"smart_auth","path":"/Users/dev/Dev/DH/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.5/","dependencies":[]}]},"dependencyGraph":[{"name":"smart_auth","dependencies":[]}],"date_created":"2022-10-03 20:52:20.960788","version":"3.0.1"}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 2.2.13 -03/10/2022
2+
- Bumped minimum Flutter SDK version to 2.0.0
3+
- Added
4+
| Property | Meaning/Default |
5+
|------------|:-------:|
6+
| isCursorAnimationEnabled | true |
7+
8+
19
## 2.2.12 -05/08/2022
210
- Added
311
| Property | Meaning/Default |

analysis_options.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ linter:
2424
- close_sinks
2525
- unnecessary_const
2626
- unnecessary_new
27-
- prefer_single_quotes
27+
- prefer_single_quotes
28+
- require_trailing_commas

example/lib/main.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,22 @@ class AppView extends StatelessWidget {
2727
indicatorSize: TabBarIndicatorSize.label,
2828
indicator: BoxDecoration(
2929
border: Border(
30-
bottom: BorderSide(color: Color.fromRGBO(30, 60, 87, 1), width: 2.0),
30+
bottom: BorderSide(
31+
color: Color.fromRGBO(30, 60, 87, 1), width: 2.0),
3132
),
3233
),
3334
unselectedLabelStyle: GoogleFonts.poppins(fontSize: 16),
34-
labelStyle: GoogleFonts.poppins(fontSize: 16, fontWeight: FontWeight.w600),
35+
labelStyle: GoogleFonts.poppins(
36+
fontSize: 16, fontWeight: FontWeight.w600),
3537
labelColor: Color.fromRGBO(30, 60, 87, 1),
3638
unselectedLabelColor: Color.fromRGBO(107, 137, 165, 1),
3739
),
3840
),
3941
home: GalleryPage(),
4042
);
4143

42-
final shortestSide = min(constraints.maxWidth.abs(), constraints.maxHeight.abs());
44+
final shortestSide =
45+
min(constraints.maxWidth.abs(), constraints.maxHeight.abs());
4346
if (shortestSide > 600) {
4447
return Container(
4548
color: Colors.white,

example/lib/pages/all_pinputs_page.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class AllPinputs extends StatefulWidget {
1313
String toStringShort() => 'All';
1414
}
1515

16-
class _AllPinputsState extends State<AllPinputs> with AutomaticKeepAliveClientMixin {
16+
class _AllPinputsState extends State<AllPinputs>
17+
with AutomaticKeepAliveClientMixin {
1718
@override
1819
Widget build(BuildContext context) {
1920
super.build(context);

example/lib/pages/gallery_page.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class GalleryPage extends StatefulWidget {
1313
GalleryPageState createState() => GalleryPageState();
1414
}
1515

16-
class GalleryPageState extends State<GalleryPage> with SingleTickerProviderStateMixin {
16+
class GalleryPageState extends State<GalleryPage>
17+
with SingleTickerProviderStateMixin {
1718
TabController? _tabController;
1819

1920
final backgroundColors = [
@@ -42,7 +43,8 @@ class GalleryPageState extends State<GalleryPage> with SingleTickerProviderState
4243
...otpPages,
4344
]);
4445

45-
_tabController = TabController(length: pinPuts.length, vsync: this, initialIndex: 1);
46+
_tabController =
47+
TabController(length: pinPuts.length, vsync: this, initialIndex: 1);
4648
_tabController!.animation!.addListener(() {
4749
final focusScope = FocusScope.of(context);
4850
if (focusScope.hasFocus) {

example/lib/pinput_templates/rounded_with_cursor.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import 'package:pinput/pinput.dart';
44

55
class RoundedWithCustomCursor extends StatefulWidget {
66
@override
7-
_RoundedWithCustomCursorState createState() => _RoundedWithCustomCursorState();
7+
_RoundedWithCustomCursorState createState() =>
8+
_RoundedWithCustomCursorState();
89

910
@override
1011
String toStringShort() => 'Rounded With Cursor';
@@ -51,7 +52,8 @@ class _RoundedWithCustomCursorState extends State<RoundedWithCustomCursor> {
5152
child: Pinput(
5253
controller: pinController,
5354
focusNode: focusNode,
54-
androidSmsAutofillMethod: AndroidSmsAutofillMethod.smsUserConsentApi,
55+
androidSmsAutofillMethod:
56+
AndroidSmsAutofillMethod.smsUserConsentApi,
5557
listenForMultipleSmsOnAndroid: true,
5658
defaultPinTheme: defaultPinTheme,
5759
validator: (value) {

example/lib/pinput_templates/rounded_with_shadow.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class _RoundedWithShadowState extends State<RoundedWithShadow> {
2626
final defaultPinTheme = PinTheme(
2727
width: 60,
2828
height: 64,
29-
textStyle: GoogleFonts.poppins(fontSize: 20, color: Color.fromRGBO(70, 69, 66, 1)),
29+
textStyle: GoogleFonts.poppins(
30+
fontSize: 20, color: Color.fromRGBO(70, 69, 66, 1)),
3031
decoration: BoxDecoration(
3132
color: Color.fromRGBO(232, 235, 241, 0.37),
3233
borderRadius: BorderRadius.circular(24),

0 commit comments

Comments
 (0)