copyWith abstract method

NrButtonWidget copyWith({
  1. String? label,
  2. IconData? icon,
  3. dynamic onTap()?,
  4. bool? expanded,
  5. bool? selected,
  6. bool? showSelected,
  7. double? width,
  8. double? height,
  9. Color? selectedColor,
  10. Color? selectedBackgroundColor,
  11. Color? unselectedColor,
  12. Color? unselectedBackgroundColor,
  13. BorderRadius? borderRadius,
  14. NavRailDirection? direction,
  15. NavRailButtonLabelPosition? labelPosition,
})

Implementation

NrButtonWidget copyWith({
  String? label,
  IconData? icon,
  Function()? onTap,
  bool? expanded,
  bool? selected,
  bool? showSelected,
  double? width,
  double? height,
  Color? selectedColor,
  Color? selectedBackgroundColor,
  Color? unselectedColor,
  Color? unselectedBackgroundColor,
  BorderRadius? borderRadius,
  NavRailDirection? direction,
  NavRailButtonLabelPosition? labelPosition,
});