Story.simple constructor

Story.simple({
  1. Key? key,
  2. required String? name,
  3. required Widget? child,
  4. String? section = '',
  5. Color? background,
  6. EdgeInsets? padding = const EdgeInsets.all(16),
})

Implementation

Story.simple({
  Key? key,
  required String? name,
  required Widget? child,
  String? section = '',
  Color? background,
  EdgeInsets? padding = const EdgeInsets.all(16),
}) : this(
        key: key,
        name: name!,
        background: background,
        padding: padding!,
        builder: (_, __) => child!,
        section: section!,
      );