yarn_count_converter 0.0.2 copy "yarn_count_converter: ^0.0.2" to clipboard
yarn_count_converter: ^0.0.2 copied to clipboard

Yarn Count Converter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:yarn_count_converter/yarn_count_converter.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    double result = YarnCountConverter.texToDenier(25);
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Yarn Count Converter',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: SafeArea(
        child: Scaffold(
          appBar: AppBar(
            title: Text("Yarn Count Converter"),
          ),
          body: Center(child: Text("Tex 25 is equal to Denier $result")),
        ),
      ),
    );
  }
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Yarn Count Converter.

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on yarn_count_converter