NyApp constructor

const NyApp({
  1. Key? key,
  2. required Widget child(
    1. ThemeData? themeData,
    2. Locale locale
    )?,
  3. Duration themeDuration = const Duration(milliseconds: 200),
  4. Curve themeCurve = Curves.easeInOut,
  5. Color? backgroundColor,
})

Create a new NyApp with a custom builder.

Implementation

const NyApp({
  super.key,
  required this.child,
  this.themeDuration = const Duration(milliseconds: 200),
  this.themeCurve = Curves.easeInOut,
  this.backgroundColor,
});