waveui 0.0.4 copy "waveui: ^0.0.4" to clipboard
waveui: ^0.0.4 copied to clipboard

outdated

An enterprise-class package of Flutter components for mobile applications.

example/lib/main.dart

import 'package:waveui/waveui.dart';
import 'sample/l10n/l10n.dart';
import 'package:example/sample/home/home.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:get/get.dart';

void main() {
  WaveIntl.add(ResourceDe.locale, ResourceDe());
  runApp(MyApp());
}

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

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return NotificationListener<ChangeLocalEvent>(
      onNotification: (_) {
        setState(() {});
        return true;
      },
      child: GetMaterialApp(
        debugShowCheckedModeBanner: false,
        locale: ChangeLocalEvent.locale,
        localizationsDelegates: [
          GlobalMaterialLocalizations.delegate,
          GlobalWidgetsLocalizations.delegate,
          GlobalCupertinoLocalizations.delegate,
          WaveLocalizationDelegate.delegate,
        ],
        supportedLocales: [
          Locale('en', 'US'),
        ],
        title: 'WaveUI Example',
        theme: WaveTheme.light(Colors.blue),
        home: HomePage(),
      ),
    );
  }
}
6
likes
0
points
366
downloads

Publisher

verified publishermeetalif.com

Weekly Downloads

An enterprise-class package of Flutter components for mobile applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bindings_compatible, fluentui_system_icons, flutter, get, intl, lpinyin, photo_view, xml

More

Packages that depend on waveui