verblaze_flutter 1.1.8 copy "verblaze_flutter: ^1.1.8" to clipboard
verblaze_flutter: ^1.1.8 copied to clipboard

Flutter SDK for Verblaze Translation Management System

example/lib/main.dart

import 'package:example/view/home_view.dart';
import 'package:flutter/material.dart';
import 'package:verblaze_flutter/verblaze_flutter.dart';
import 'package:provider/provider.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  // No API key needed when using local translations
  await Verblaze.configure("vb-api-f99b79be9f809691");
  runApp(const MainApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MultiProvider(
      providers: [
        ChangeNotifierProvider(create: (context) => VerblazeProvider()),
      ],
      child: MaterialApp(
        localizationsDelegates: const [
          GlobalMaterialLocalizations.delegate,
          GlobalWidgetsLocalizations.delegate,
          GlobalCupertinoLocalizations.delegate,
        ],
        supportedLocales: Verblaze.supportedLocales,
        home: const HomeView(),
      ),
    );
  }
}
1
likes
145
points
54
downloads

Documentation

API reference

Publisher

verified publisherverblaze.com

Weekly Downloads

Flutter SDK for Verblaze Translation Management System

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_localizations, http, provider, shared_preferences

More

Packages that depend on verblaze_flutter