localization_by_muz 1.0.0 copy "localization_by_muz: ^1.0.0" to clipboard
localization_by_muz: ^1.0.0 copied to clipboard

A simple Flutter package for easy localization with inline text support and JSON-based translations

example/lib/main.dart

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

import 'screens/home_screen.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return LocalizationProvider(
      defaultLocale: 'en',
      child: LocalizedBuilder(
        builder: (context, locale) {
          return MaterialApp(
            title: "appTitle".localize(),
            home: const HomeScreen(),
            debugShowCheckedModeBanner: false,
          );
        },
      ),
    );
  }
}
1
likes
0
points
9
downloads

Publisher

verified publishermuz.satech.dev

Weekly Downloads

A simple Flutter package for easy localization with inline text support and JSON-based translations

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on localization_by_muz