flutter_ckb_localization 0.0.6 copy "flutter_ckb_localization: ^0.0.6" to clipboard
flutter_ckb_localization: ^0.0.6 copied to clipboard

Flutter Central Kurdish Branch aka Sorani Localization Support

example/lib/main.dart

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

void main() => runApp(MyApp());

const List<Locale> supportedLocales = [
  Locale('ckb'),
  Locale('ar'),
  Locale('en')
];

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'CKB Example',
      localizationsDelegates: const [
        CkbWidgetLocalizations.delegate,
        CkbMaterialLocalizations.delegate
      ],
      locale: supportedLocales[0],
      supportedLocales: supportedLocales,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('CKB Example'),
        ),
        body: const Center(
          child: Text('بخير بي كاكا'),
        ),
      ),
    );
  }
}
15
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Flutter Central Kurdish Branch aka Sorani Localization Support

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on flutter_ckb_localization