PagerTheme constructor

const PagerTheme({
  1. TextStyle? textStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w400, color: Colors.black),
  2. Color pageIndicatorColor = Colors.grey,
  3. Color pageIndicatorActiveColor = Colors.black,
  4. Color checkedPageColor = Colors.black,
  5. BoxDecoration? checkedPageBoxDecoration,
  6. double pageTextSize = 14,
  7. double pageIndicatorHeight = 30,
  8. double borderRadius = 10,
  9. BoxBorder? focusBorder,
  10. TextStyle? inputTextStyle,
  11. TextStyle? inputHintTextStyle,
  12. Color? inputBgColor,
  13. OutlineInputTextBorder? outlineInputTextBorder = const OutlineInputTextBorder(borderSide: BorderSide(color: Colors.grey, width: 1.0), childBorderRadius: BorderRadius.all(Radius.circular(20))),
  14. EdgeInsetsGeometry? inputContentPadding = const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
  15. double inputHeight = 30,
  16. double inputWidth = 50,
})

Implementation

const PagerTheme({
  this.textStyle = const TextStyle(
    fontSize: 14,
    fontWeight: FontWeight.w400,
    color: Colors.black,
  ),
  this.pageIndicatorColor = Colors.grey,
  this.pageIndicatorActiveColor = Colors.black,
  this.checkedPageColor = Colors.black,
  this.checkedPageBoxDecoration,
  this.pageTextSize = 14,
  this.pageIndicatorHeight = 30,
  this.borderRadius = 10,
  this.focusBorder,
  this.inputTextStyle,
  this.inputHintTextStyle,
  this.inputBgColor,
  this.outlineInputTextBorder = const OutlineInputTextBorder(
    borderSide: BorderSide(color: Colors.grey, width: 1.0),
    childBorderRadius: BorderRadius.all(Radius.circular(20)),
  ),
  this.inputContentPadding = const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
  this.inputHeight = 30,
  this.inputWidth = 50,
});