FooterView constructor

FooterView({
  1. required List<Widget> children,
  2. required Footer footer,
  3. int? flex,
})

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');
    }
  }
}