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