plume 0.1.2+1 copy "plume: ^0.1.2+1" to clipboard
plume: ^0.1.2+1 copied to clipboard

outdated

Birds can't do without feathers, so that they can travel in the sky. A good application needs standardized components to beautify and enrich it. It is.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:plume/framework/drawer.dart';
import 'package:plumedemo/pages/page_framework_drawer.dart';
import 'package:plumedemo/pages/page_main_list.dart';
import 'package:plumedemo/pages/page_perspective.dart';


const String FRAMEWORK_DRAWER_PAGE = "FrameworkDrawerPage";

const String PERSPECTIVE_PAGE = "PerspectivePage";

void main() {
  runApp(
      MaterialApp(
        // theme: ThemeData(
        //   primaryColor: MAIN_COLOR,
        //   primarySwatch: Colors.blue,
        //   visualDensity: VisualDensity.adaptivePlatformDensity,
        //   // unselectedWidgetColor: Colors.blue,
        // ),
        home: MainListPage(),
        routes: {
          // drawer
          FRAMEWORK_DRAWER_PAGE: (BuildContext context) => FrameworkDrawerPage(),
          PERSPECTIVE_PAGE: (BuildContext context) => PerspectivePage(),
        },

        // *******  调试类参数
        // 显示Performance调试信息,顶部状态ui开销等
        // showPerformanceOverlay: true,
        // 显示网格
        // debugShowMaterialGrid: true,
        // 显示右上角的DEBUG标签
        // debugShowCheckedModeBanner: false,
        // // 使用了saveLayer的图形会显示为棋盘格式并随着页面刷新而闪烁
        // checkerboardOffscreenLayers: true,
        // // 做了缓存的静态图片在刷新页面时不会改变棋盘格的颜色;如果棋盘格颜色变了说明被重新缓存了,这是我们要避免的
        // checkerboardRasterCacheImages: true,
      ),
  );
}
1
likes
0
pub points
42%
popularity

Publisher

unverified uploader

Birds can't do without feathers, so that they can travel in the sky. A good application needs standardized components to beautify and enrich it. It is.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, just_audio, shared_preferences

More

Packages that depend on plume