mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-12 05:41:37 +08:00
@@ -278,8 +278,11 @@ class MyApp extends StatelessWidget {
|
||||
getPages: Routes.getPages,
|
||||
defaultTransition: Pref.pageTransition,
|
||||
builder: FlutterSmartDialog.init(
|
||||
toastBuilder: (msg) => CustomToast(msg: msg),
|
||||
loadingBuilder: (msg) => LoadingWidget(msg: msg),
|
||||
toastBuilder: CustomToast.new,
|
||||
loadingBuilder: LoadingWidget.new,
|
||||
notifyStyle: const FlutterSmartNotifyStyle(
|
||||
warningBuilder: NotifyWarning.new,
|
||||
),
|
||||
builder: _builder,
|
||||
),
|
||||
navigatorObservers: [
|
||||
|
||||
Reference in New Issue
Block a user