DSLimitedBlock constructor
const
DSLimitedBlock({
- Key? key,
- int groupId = -1,
- required double groupMaxHeight,
- required double calcHeight(
- BuildContext context,
- double screenWidth,
- double scale
- required Widget builder(
- BuildContext context,
- double scale
- double groupMaxWidth = double.maxFinite,
- double minScale = 0.3,
- Size calcSize(
- BuildContext context,
- double scale
Implementation
const DSLimitedBlock({
super.key,
this.groupId = -1,
required this.groupMaxHeight,
required this.calcHeight,
required this.builder,
this.groupMaxWidth = double.maxFinite,
this.minScale = 0.3,
this.calcSize,
}): assert(minScale > 0);