copyWith abstract method
NrButtonWidget
copyWith({
- String? label,
- IconData? icon,
- dynamic 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,
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,
});