feed_plugin 0.3.25+8 copy "feed_plugin: ^0.3.25+8" to clipboard
feed_plugin: ^0.3.25+8 copied to clipboard

discontinued

Feed Plugin

example/lib/main.dart

import 'package:feed_plugin_example/app.dart';
import 'package:feed_plugin_example/localization/localizations.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final List<Locale> localeList = [
    const Locale('en', ''),
    const Locale('ru', ''),
    const Locale('he', ''),
    const Locale('de', ''),
  ];

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: App(),
      localizationsDelegates: [
        PhonedoLocalizationsDelegate(),
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      locale: Locale('he'),
      supportedLocales: localeList,
    );
  }
}