PagerTheme constructor
const
PagerTheme({
- TextStyle? textStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w400, color: Colors.black),
- Color pageIndicatorColor = Colors.grey,
- Color pageIndicatorActiveColor = Colors.black,
- Color checkedPageColor = Colors.black,
- BoxDecoration? checkedPageBoxDecoration,
- double pageTextSize = 14,
- double pageIndicatorHeight = 30,
- double borderRadius = 10,
- BoxBorder? focusBorder,
- TextStyle? inputTextStyle,
- TextStyle? inputHintTextStyle,
- Color? inputBgColor,
- OutlineInputTextBorder? outlineInputTextBorder = const OutlineInputTextBorder(borderSide: BorderSide(color: Colors.grey, width: 1.0), childBorderRadius: BorderRadius.all(Radius.circular(20))),
- EdgeInsetsGeometry? inputContentPadding = const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
- double inputHeight = 30,
- 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,
});