ResponsiveLocalWidget constructor

ResponsiveLocalWidget({
  1. Key? key,
  2. required List<ResponsiveWidgetConfig> configs,
})

a widget that changes according to its own width, the configs are assumed to be provided in ascending order

Implementation

ResponsiveLocalWidget({Key? key, required this.configs}) : super(key: key) {
  assert(configs.isNotEmpty);
}