INNER CODE UNIT · Dart
padTop
lollipopkit/flutter_gpt_box · lib/intro.dart:20
final padTop = cons.maxHeight * .12;
final pages_ = pages.map((e) => e(context, padTop)).toList();
return IntroPage(
args: IntroPageArgs(
pages: pages_,
onDone: (ctx) {
Stores.setting.introVer.set(BuildData.build);
Navigator.of(ctx).pushReplacement(
MaterialPageRoute(builder: (_) => const VirtualWindowFrame(child: HomePage())),
);
},
),
);
},
);
}
static Widget _buildAppSettings(BuildContext ctx, double padTop) {