[2.2.0] - 2022-4-29
Changed
base
- Adapt flutter sdk 2.10.5.
- Fix flutter analyze issues.
- Fixed some component theme configurations customization not taking effect #177 .
components
New components BrnSwitchFormItem
BrnGeneralFormItem
BrnMetaSwitch
.
BrnTitleFormItem
: fixisRequire
parameter invalid #179.BrnTextBlockInputFormItem
: change theminLines
andmaxLines
attributes to be nullable #181 thanks to xiao luobei.BrnSelectionView
: fix "unlimited" option not taking effect .BrnBottomTabBar
: remove the restriction ontype
byitem.length
in the construction method.BrnPairInfoTable
adds a callback attributeonFolded
for expanding and collapsing state changes.BrnCheckbox
: add attributecrossAxisAlignment
.BrnRadioButton
: add attributecrossAxisAlignment
.BrnMiddleInputDialog
: add attributethemeData
support theme.BrnTextButtonPanel
: optimize button display, fix the space cannot be filled in some cases.BrnCommonCardTitle
: add attributetitleMaxLines
andtitleOverflow
.BrnMultiSelectDialog
: uses the default contentStyle of BrnDialogConfig.BrnScrollableTextDialog
: optimize ScrollBar placement and styling.BrnSingleSelectDialog
: Add click callback for closeIcon.BrnSelectionView
: optimizes the data display of the [More] filter page, and supports the display of up to 2 rows.BrnTextInputFormItem
BrnTextBlockInputFormItem
BrnTitleSelectInputFormItem
: add attributeautofocus
and default value is false.BrnAppBar
theme customizationBrnAppBarConfig
supports the attributeshowDefaultBottom
to control the bottom dividing line of the AppBarBrnMultiDataPicker
: add default delegate implementationBrnDefaultMultiDataPickerDelegate
.BrnStepInputFormItem
: add attributecanManualInput
andcontroller
to support manual input function.BrnSearchText
: add attributeinputFormatters
textInputType
.BrnAnchorTab
: support content dynamic change.BrnProgressBarChart
: whenbarChartStyle
isBarChartStyle.horizontal
support item click callback.