0 purchases
dart printf
Dart Printf #
Very very simple format printing
Install #
dependencies:
dart_printf:
copied to clipboard
Usage #
import 'package:dart_printf/dart_printf.dart';
void main() {
printf(
'%s--%d--%f--%e--%b--%d--%x--%X--%x--%X--%4x--%4X--%8x--%8X--%2X--%o',
'hi', 1, 1.1, 1.2, true, false, 10, 10, true, false, 10, 10, 10, 10, true, []
);
printf('hello %s, [%s] lib', 'world', 'printf');
print(printfr('hello %s, [%s] lib', 'world', 'printf'));
printf('Dart');
}
copied to clipboard
Run Test #
> pub run test .\test\dart_printf_test.dart
λ dart test ./test/dart_printf_test.dart
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.