From 3927accacc9f8e9517d7ebcbe20ebb1c97c6b94f Mon Sep 17 00:00:00 2001 From: Gianluca Bettega Date: Tue, 4 Jun 2024 09:51:02 -0300 Subject: [PATCH] format --- lib/currency_textfield.dart | 2 +- test/currency_textfield_test.dart | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/currency_textfield.dart b/lib/currency_textfield.dart index 232840b..aa559bb 100644 --- a/lib/currency_textfield.dart +++ b/lib/currency_textfield.dart @@ -53,7 +53,7 @@ import 'dart:math'; /// `startWithSeparator` lets you define if the controller starts with decimals activated. /// /// Default `true` -/// +/// /// `showZeroValue` lets you define if the controller will show the 0 value. /// /// Default `false` diff --git a/test/currency_textfield_test.dart b/test/currency_textfield_test.dart index 0845c97..6c3274d 100644 --- a/test/currency_textfield_test.dart +++ b/test/currency_textfield_test.dart @@ -182,12 +182,13 @@ void main() { }); test('test_allowZeroValue_shoulDisplayZeroValueFormatted', () { - final controller = CurrencyTextFieldController(initIntValue: 0, showZeroValue: true); + final controller = + CurrencyTextFieldController(initIntValue: 0, showZeroValue: true); expect(controller.text, "R\$ 0,00"); }); - test('test_allowZeroValue_whithoutInitialValue_shoulDisplayEmptyString', () { + test('test_allowZeroValue_whithoutInitialValue_shoulDisplayEmptyString', () { final controller = CurrencyTextFieldController(showZeroValue: true); final controller2 = CurrencyTextFieldController(initIntValue: 0);