-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
package:intltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Describe the bug
Formatting BigInt
value return type 'int' is not a subtype of type 'BigInt' of 'bigInt'
. Is it intended?
To Reproduce
Add a minimal working example or, if not possible or available, any code which might help to reproduce the problem
test('BigInt on Formatter', () async {
const number = '12345678901234567890.1234567890';
final leftSplitNumber = BigInt.parse(number);
final f = NumberFormat("###,###.########", "en_US");
final formatted = f.format(leftSplitNumber).toString();
print(formatted);
});
System info
System Info
Dart SDK 3.0.6
Flutter SDK 3.10.6
bigint 1.0.0+1
dependencies:
- cupertino_icons 1.0.5
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- intl 0.18.1 [clock meta path]
dev dependencies:
- flutter_lints 2.0.2 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
transitive dependencies:
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- collection 1.17.1
- fake_async 1.3.1 [clock collection]
- js 0.6.7 [meta]
- lints 2.1.1
- matcher 0.12.15 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.2.0
- meta 1.9.1
- path 1.8.3
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.5.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- vector_math 2.1.4
tenhobi, kikuchy and haykgalstyan
Metadata
Metadata
Assignees
Labels
package:intltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)