SegmentedButtonTheme constructor

const SegmentedButtonTheme({
  1. Key? key,
  2. required SegmentedButtonThemeData data,
  3. required Widget child,
})

Creates a SegmentedButtonTheme that controls visual parameters for descendent SegmentedButtons.

Implementation

const SegmentedButtonTheme({
  super.key,
  required this.data,
  required super.child,
});