FooterView constructor
Implementation
FooterView({Key? key, required this.children, required this.footer, this.flex}) : super(key: key) {
if (flex != null) {
if (flex! > 10 || flex! < 1) {
throw ArgumentError('Only 1-10 Flex range is allowed');
}
}
}