RailItem constructor

RailItem({
  1. Widget icon = const SizedBox(),
  2. Widget screen = const SizedBox(),
  3. String? label,
  4. Color? background,
  5. Color? activeColor,
  6. Color? iconColor,
})

Implementation

RailItem({
  this.icon = const SizedBox(),
  this.screen = const SizedBox(),
  this.label,
  this.background,
  this.activeColor,
  this.iconColor,
});