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

A new Flutter package to translate string into choosen language.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp( title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Material App Bar'),
        ),
        body: Center(
          child: Container(
            child: TranslatedText("I Love 'Flutter'.",to:'hi',),
          ),
        ),
      ),
    );
  }
}
8
likes
40
pub points
23%
popularity

Publisher

unverified uploader

A new Flutter package to translate string into choosen language.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, translator

More

Packages that depend on translated_text