playx 0.2.6 copy "playx: ^0.2.6" to clipboard
playx: ^0.2.6 copied to clipboard

Playx eco system helps with redundant features as it provides many utilities for themes, widgets and more.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:playx/playx.dart';
import 'package:playx_example/config/theme_config.dart';
import 'package:playx_example/home.dart';
import 'package:playx_example/translation/app_locale_config.dart';
import 'package:playx_example/translation/app_trans.dart';

import 'config/app_config.dart';

void main() async {
  final config = AppConfig();

  Playx.runPlayx(
    appConfig: config,
    themeConfig: const AppThemeConfig(),
    app: const MyApp(),
    //not necessary
    sentryOptions: (options) {
      options.dsn = AppConfig.sentryKey;
    },
    localeConfig: AppLocaleConfig(),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return PlayxMaterialApp(
      title: AppTrans.appName.tr,
      home: const Home(),
    );
  }
}
4
likes
50
points
217
downloads

Publisher

verified publisherplayx.sourcya.io

Weekly Downloads

Playx eco system helps with redundant features as it provides many utilities for themes, widgets and more.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

async, fimber, flutter, flutter_readable, playx_localization, playx_network, playx_theme, playx_widget, queen_validators, sentry_flutter

More

Packages that depend on playx