INNER CODE UNIT · Dart

MyApp

xieyezi/flutter-shopping-AiRi · lib/main.dart:39

class MyApp extends StatelessWidget {
  final isLogin;
  const MyApp({Key? key, this.isLogin}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return OKToast(
      child: RefreshConfiguration(
        hideFooterWhenNotFull: true, // Viewport不满一屏时,禁用上拉加载更多功能
        enableBallisticLoad: true, // 可以通过惯性滑动触发加载更多
        child: MaterialApp(
          title: 'AiRi',
          localizationsDelegates: [
            RefreshLocalizations.delegate,
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
          ],
          supportedLocales: [

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…