ResponsiveLocalBuilder constructor

ResponsiveLocalBuilder({
  1. Key? key,
  2. required List<ResponsiveBuilderConfig> configs,
  3. required Widget child,
})

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

Implementation

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