diff --git a/lib/components/checkbox/gf_checkbox.dart b/lib/components/checkbox/gf_checkbox.dart index 8fe7709c..c53fe2ed 100644 --- a/lib/components/checkbox/gf_checkbox.dart +++ b/lib/components/checkbox/gf_checkbox.dart @@ -8,8 +8,8 @@ class GFCheckbox extends StatefulWidget { this.size = GFSize.MEDIUM, this.type = GFCheckboxType.basic, this.checkColor = GFColors.WHITE, - this.activebgColor = GFColors.PRIMARY, - this.inactivebgColor = GFColors.WHITE, + this.activeBgColor = GFColors.PRIMARY, + this.inactiveBgColor = GFColors.WHITE, this.activeBorderColor = GFColors.WHITE, this.inactiveBorderColor = GFColors.DARK, this.onChanged, @@ -20,7 +20,7 @@ class GFCheckbox extends StatefulWidget { color: GFColors.WHITE, ), this.inactiveIcon, - this.custombgColor = GFColors.SUCCESS, + this.customBgColor = GFColors.SUCCESS, this.autofocus = false, this.focusNode}) : assert(autofocus != null), @@ -32,14 +32,14 @@ class GFCheckbox extends StatefulWidget { /// type of [double] which is GFSize ie, small, medium and large and can use any double value final double size; - /// type of [Color] used to change the checkcolor when the checkbox is active + /// type of [Color] used to change the checkColor when the checkbox is active final Color checkColor; /// type of [Color] used to change the backgroundColor of the active checkbox - final Color activebgColor; + final Color activeBgColor; /// type of [Color] used to change the backgroundColor of the inactive checkbox - final Color inactivebgColor; + final Color inactiveBgColor; /// type of [Color] used to change the border color of the active checkbox final Color activeBorderColor; @@ -60,7 +60,7 @@ class GFCheckbox extends StatefulWidget { final Widget inactiveIcon; /// type of [Color] used to change the background color of the custom active checkbox only - final Color custombgColor; + final Color customBgColor; /// on true state this widget will be selected as the initial focus /// when no other node in its scope is currently focused @@ -101,8 +101,8 @@ class _GFCheckboxState extends State { ? widget.value ? widget.type == GFCheckboxType.custom ? Colors.white - : widget.activebgColor - : widget.inactivebgColor + : widget.activeBgColor + : widget.inactiveBgColor : Colors.grey, borderRadius: widget.type == GFCheckboxType.basic ? BorderRadius.circular(3) @@ -129,7 +129,7 @@ class _GFCheckboxState extends State { height: widget.size * 0.8, decoration: BoxDecoration( shape: BoxShape.rectangle, - color: widget.custombgColor), + color: widget.customBgColor), ) ], ) diff --git a/lib/components/checkbox_list_tile/gf_checkbox_list_tile.dart b/lib/components/checkbox_list_tile/gf_checkbox_list_tile.dart index 35142631..0b8c9810 100644 --- a/lib/components/checkbox_list_tile/gf_checkbox_list_tile.dart +++ b/lib/components/checkbox_list_tile/gf_checkbox_list_tile.dart @@ -2,7 +2,8 @@ import 'package:flutter/material.dart'; import 'package:getwidget/getwidget.dart'; class GFCheckboxListTile extends StatelessWidget { - /// [GFCheckboxListTile] is a tile with small box at right (as in a checklist) in which to place a check mark to make a selection with various customization options. + /// [GFCheckboxListTile] is a tile with small box at right (as in a checklist) + /// in which to place a check mark to make a selection with various customization options. const GFCheckboxListTile({ Key key, @required this.value, @@ -12,7 +13,7 @@ class GFCheckboxListTile extends StatelessWidget { this.color, this.avatar, this.title, - this.subTitle, + this.subtitle, this.icon, this.description, this.padding = const EdgeInsets.all(8), @@ -20,8 +21,8 @@ class GFCheckboxListTile extends StatelessWidget { this.size = GFSize.MEDIUM, this.type = GFCheckboxType.basic, this.checkColor = GFColors.WHITE, - this.activebgColor = GFColors.PRIMARY, - this.inactivebgColor = GFColors.WHITE, + this.activeBgColor = GFColors.PRIMARY, + this.inactiveBgColor = GFColors.WHITE, this.activeBorderColor = GFColors.WHITE, this.inactiveBorderColor = GFColors.DARK, this.activeIcon = const Icon( @@ -30,7 +31,7 @@ class GFCheckboxListTile extends StatelessWidget { color: GFColors.WHITE, ), this.inactiveIcon, - this.custombgColor = GFColors.SUCCESS, + this.customBgColor = GFColors.SUCCESS, this.position = GFPosition.end, this.selected = false, this.autofocus = false, @@ -48,14 +49,15 @@ class GFCheckboxListTile extends StatelessWidget { /// The GFListTile's background color. Can be given [Color] or [GFColors] final Color color; - /// If position is start Checkbox will come instead of avatar, type of [Widget] or [GFAvatar] used to create rounded user profile + /// If position is start Checkbox will come instead of avatar, + /// type of [Widget] or [GFAvatar] used to create rounded user profile final Widget avatar; /// The title to display inside the [GFListTile]. see [Text] final Widget title; - /// The subTitle to display inside the [GFListTile]. see [Text] - final Widget subTitle; + /// The subtitle to display inside the [GFListTile]. see [Text] + final Widget subtitle; /// The description to display inside the [GFListTile]. see [Text] final Widget description; @@ -76,10 +78,10 @@ class GFCheckboxListTile extends StatelessWidget { final Color checkColor; /// type of [Color] used to change the backgroundColor of the active checkbox - final Color activebgColor; + final Color activeBgColor; /// type of [Color] used to change the backgroundColor of the inactive checkbox - final Color inactivebgColor; + final Color inactiveBgColor; /// type of [Color] used to change the border color of the active checkbox final Color activeBorderColor; @@ -103,13 +105,14 @@ class GFCheckboxListTile extends StatelessWidget { final Widget inactiveIcon; /// type of [Color] used to change the background color of the custom active checkbox only - final Color custombgColor; + final Color customBgColor; /// To have the list tile appear selected when the checkbox is checked, pass the same value to both. /// Normally, this property is left to its default value, false. final bool selected; - /// {@macro flutter.widgets.Focus.autofocus} + /// On true state it should focus itself if nothing else is already focused. + /// Defaults to false final bool autofocus; /// If position is end Checkbox will come instead of icon, The icon to display inside the [GFListTile]. see [Icon] @@ -122,13 +125,13 @@ class GFCheckboxListTile extends StatelessWidget { onChanged: onChanged, value: value, size: size, - activebgColor: activebgColor, + activeBgColor: activeBgColor, inactiveIcon: inactiveIcon, activeBorderColor: activeBorderColor, - inactivebgColor: inactivebgColor, + inactiveBgColor: inactiveBgColor, activeIcon: activeIcon, inactiveBorderColor: inactiveBorderColor, - custombgColor: custombgColor, + customBgColor: customBgColor, checkColor: checkColor, type: type); return MergeSemantics( @@ -143,7 +146,7 @@ class GFCheckboxListTile extends StatelessWidget { selected: selected, avatar: position == GFPosition.start ? checkbox : avatar, titleText: titleText, - subTitle: subTitle, + subtitle: subtitle, subtitleText: subtitleText, description: description, color: color, diff --git a/lib/components/dropdown/gf_dropdown.dart b/lib/components/dropdown/gf_dropdown.dart index bc56ff3f..7d987ec5 100644 --- a/lib/components/dropdown/gf_dropdown.dart +++ b/lib/components/dropdown/gf_dropdown.dart @@ -2,7 +2,8 @@ import 'package:flutter/material.dart'; import 'package:getwidget/getwidget.dart'; class GFDropdown extends StatefulWidget { - /// + /// GF Dropdown let user to select from the number of items and display selected + /// item in the button. It displays list of items in the overlay dropdown fashion. const GFDropdown( {Key key, @required this.items, diff --git a/lib/components/dropdown/gf_multiselect.dart b/lib/components/dropdown/gf_multiselect.dart index 9ebcf00d..d5ededa7 100644 --- a/lib/components/dropdown/gf_multiselect.dart +++ b/lib/components/dropdown/gf_multiselect.dart @@ -2,12 +2,14 @@ import 'package:flutter/material.dart'; import 'package:getwidget/getwidget.dart'; class GFMultiSelect extends StatefulWidget { - /// + /// GF Multiselect let user to select multiple items from the number of + /// Checkbox ListTile items and display selected items in the TitleTile box. + /// It displays list of items in the overlay dropdown fashion. const GFMultiSelect({ @required this.items, @required this.onSelect, - this.dropDownTitleTileText = 'Select : ', - this.dropDownTitleTileTextStyle = + this.dropdownTitleTileText = 'Select : ', + this.dropdownTitleTileTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500), this.color, this.avatar, @@ -16,8 +18,8 @@ class GFMultiSelect extends StatefulWidget { this.size = GFSize.SMALL, this.type = GFCheckboxType.basic, this.checkColor = GFColors.WHITE, - this.activebgColor = GFColors.WHITE, - this.inactivebgColor = GFColors.WHITE, + this.activeBgColor = GFColors.WHITE, + this.inactiveBgColor = GFColors.WHITE, this.activeBorderColor = GFColors.WHITE, this.inactiveBorderColor = GFColors.WHITE, this.submitButton, @@ -31,14 +33,14 @@ class GFMultiSelect extends StatefulWidget { color: Colors.black87, size: 30, ), - this.dropdownbgColor = Colors.white, + this.dropdownBgColor = Colors.white, this.activeIcon = const Icon( Icons.check, size: 20, color: GFColors.DARK, ), this.inactiveIcon, - this.custombgColor = GFColors.SUCCESS, + this.customBgColor = GFColors.SUCCESS, this.selected = false, this.dropdownTitleTileBorder, this.dropdownTitleTileBorderRadius = @@ -49,8 +51,8 @@ class GFMultiSelect extends StatefulWidget { const BorderSide(color: Colors.black12, width: 1), this.dropdownTitleTileMargin = const EdgeInsets.all(16), this.dropdownTitleTilePadding = const EdgeInsets.all(12), - this.dropDownTitleTileHintText, - this.dropDownTitleTileHintTextStyle = + this.dropdownTitleTileHintText, + this.dropdownTitleTileHintTextStyle = const TextStyle(fontSize: 12, fontWeight: FontWeight.w400), Key key, }) : assert(selected != null), @@ -64,16 +66,16 @@ class GFMultiSelect extends StatefulWidget { final ValueChanged> onSelect; /// type of [String] to define the dropdownTitleTile title - final String dropDownTitleTileText; + final String dropdownTitleTileText; - /// type of [TextStyle] to define the textStyle of [dropDownTitleTileText] - final TextStyle dropDownTitleTileTextStyle; + /// type of [TextStyle] to define the textStyle of [dropdownTitleTileText] + final TextStyle dropdownTitleTileTextStyle; /// type of [String] to define the dropdownTitleTile hint text - final String dropDownTitleTileHintText; + final String dropdownTitleTileHintText; - /// type of [TextStyle] to define the textStyle of [dropDownTitleTileHintTextStyle] - final TextStyle dropDownTitleTileHintTextStyle; + /// type of [TextStyle] to define the textStyle of [dropdownTitleTileHintTextStyle] + final TextStyle dropdownTitleTileHintTextStyle; /// defines the border radius of the dropdownTitleTile final BorderRadius dropdownTitleTileBorderRadius; @@ -132,11 +134,11 @@ class GFMultiSelect extends StatefulWidget { /// defines dropdown ListTile's checkbox background color when its active /// type of [Color] used to change the backgroundColor of the active checkbox - final Color activebgColor; + final Color activeBgColor; /// defines dropdown ListTile's checkbox background color when its inactive /// type of [Color] used to change the backgroundColor of the inactive checkbox - final Color inactivebgColor; + final Color inactiveBgColor; /// defines dropdown ListTile's checkbox border color when its active /// type of [Color] used to change the border color of the active checkbox @@ -155,15 +157,14 @@ class GFMultiSelect extends StatefulWidget { final Widget inactiveIcon; /// type of [Color] used to change the background color of the custom active checkbox only - final Color custombgColor; + final Color customBgColor; /// To have the list tile appear selected when the checkbox is checked, pass the same value to both. /// Normally, this property is left to its default value, false. final bool selected; /// defines the background color of the dropdown. Can be given [Color] or [GFColors] - final Color dropdownbgColor; - + final Color dropdownBgColor; @override _GFMultiSelectState createState() => _GFMultiSelectState(); @@ -205,11 +206,11 @@ class _GFMultiSelectState extends State> { children: [ _selectedTitles.isEmpty ? Expanded( - child: Text(widget.dropDownTitleTileText, - style: widget.dropDownTitleTileTextStyle)) + child: Text(widget.dropdownTitleTileText, + style: widget.dropdownTitleTileTextStyle)) : Expanded( child: Text(_selectedTitles.join(', ').toString(), - style: widget.dropDownTitleTileTextStyle)), + style: widget.dropdownTitleTileTextStyle)), !showDropdown ? widget.expandedIcon : widget.collapsedIcon, ], ); @@ -235,14 +236,14 @@ class _GFMultiSelectState extends State> { ? const Border(bottom: BorderSide(color: Colors.white)) : Border(bottom: widget.dropdownUnderlineBorder), ), - child: widget.dropDownTitleTileHintText == null + child: widget.dropdownTitleTileHintText == null ? dropdownTile() : Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - '${widget.dropDownTitleTileHintText}', - style: widget.dropDownTitleTileHintTextStyle, + '${widget.dropdownTitleTileHintText}', + style: widget.dropdownTitleTileHintTextStyle, ), dropdownTile(), const SizedBox( @@ -255,7 +256,7 @@ class _GFMultiSelectState extends State> { ? Container( padding: const EdgeInsets.symmetric(vertical: 6), decoration: BoxDecoration( - color: widget.dropdownbgColor, + color: widget.dropdownBgColor, boxShadow: const [ BoxShadow( color: Colors.black12, @@ -288,14 +289,14 @@ class _GFMultiSelectState extends State> { padding: widget.padding, margin: widget.margin, size: widget.size, - activebgColor: widget.activebgColor, + activeBgColor: widget.activeBgColor, inactiveIcon: widget.inactiveIcon, activeBorderColor: widget.activeBorderColor, - inactivebgColor: widget.inactivebgColor, + inactiveBgColor: widget.inactiveBgColor, activeIcon: widget.activeIcon, inactiveBorderColor: widget.inactiveBorderColor, - custombgColor: widget.custombgColor, + customBgColor: widget.customBgColor, checkColor: widget.checkColor, type: widget.type, ))), diff --git a/lib/components/intro_screen/gf_intro_screen.dart b/lib/components/intro_screen/gf_intro_screen.dart index 1d3f8ba9..b80606eb 100644 --- a/lib/components/intro_screen/gf_intro_screen.dart +++ b/lib/components/intro_screen/gf_intro_screen.dart @@ -3,7 +3,9 @@ import 'package:flutter/material.dart'; import 'package:getwidget/getwidget.dart'; class GFIntroScreen extends StatefulWidget { - /// Presents informative screens to users with various posibilities in customization. + /// GF Intro Screen is virtual unique interactive Slider that helps users get started with an app. + /// It has many features that helps to build custom-made introduction screen sliders. + /// Presents informative screens to users with various possibilities in customization. const GFIntroScreen({ Key key, @required this.pageController, @@ -29,7 +31,7 @@ class GFIntroScreen extends StatefulWidget { this.dividerHeight = 1, this.dividerThickness = 2, this.dotShape, - this.inActiveColor = GFColors.LIGHT, + this.inactiveColor = GFColors.LIGHT, this.activeColor = GFColors.PRIMARY, this.dotHeight = 12, this.dotWidth = 12, @@ -190,7 +192,7 @@ class GFIntroScreen extends StatefulWidget { final ShapeBorder dotShape; /// defines pagination inactive color - final Color inActiveColor; + final Color inactiveColor; /// defines pagination active color final Color activeColor; @@ -247,7 +249,7 @@ class _GFIntroScreenState extends State { dividerHeight: widget.dividerHeight, dividerThickness: widget.dividerThickness, dotShape: widget.dotShape, - inActiveColor: widget.inActiveColor, + inactiveColor: widget.inactiveColor, activeColor: widget.activeColor, dotHeight: widget.dotHeight, dotWidth: widget.dotWidth, diff --git a/lib/components/intro_screen/gf_intro_screen_bottom_navigation_bar.dart b/lib/components/intro_screen/gf_intro_screen_bottom_navigation_bar.dart index 6361c960..4f2a23e2 100644 --- a/lib/components/intro_screen/gf_intro_screen_bottom_navigation_bar.dart +++ b/lib/components/intro_screen/gf_intro_screen_bottom_navigation_bar.dart @@ -20,7 +20,7 @@ class GFIntroScreenBottomNavigationBar extends StatefulWidget { this.dividerHeight = 1, this.dividerThickness = 2, this.dotShape, - this.inActiveColor = GFColors.DANGER, + this.inactiveColor = GFColors.DANGER, this.activeColor = GFColors.PRIMARY, this.dotHeight = 12, this.dotWidth = 12, @@ -157,7 +157,7 @@ class GFIntroScreenBottomNavigationBar extends StatefulWidget { final ShapeBorder dotShape; /// defines pagination inactive color - final Color inActiveColor; + final Color inactiveColor; /// defines pagination active color final Color activeColor; @@ -297,7 +297,7 @@ class _GFIntroScreenBottomNavigationBarState child: Material( shape: widget.dotShape ?? RoundedRectangleBorder(borderRadius: BorderRadius.circular(50)), - color: currentIndex == i ? widget.activeColor : widget.inActiveColor, + color: currentIndex == i ? widget.activeColor : widget.inactiveColor, child: Container( width: widget.dotWidth, height: widget.dotHeight, diff --git a/lib/components/list_tile/gf_list_tile.dart b/lib/components/list_tile/gf_list_tile.dart index 68fdf7ad..eed7744d 100644 --- a/lib/components/list_tile/gf_list_tile.dart +++ b/lib/components/list_tile/gf_list_tile.dart @@ -11,7 +11,7 @@ class GFListTile extends StatelessWidget { this.color, this.avatar, this.title, - this.subTitle, + this.subtitle, this.description, this.icon, this.padding = const EdgeInsets.all(8), @@ -29,10 +29,10 @@ class GFListTile extends StatelessWidget { assert(autofocus != null), super(key: key); - ///type of [String] used to pass text, alternative to title property and gets higher priority than title + /// type of [String] used to pass text, alternative to title property and gets higher priority than title final String titleText; - ///type of [String] used to pass text, alternative to subtitle property and gets higher priority than subtitle + /// type of [String] used to pass text, alternative to subtitle property and gets higher priority than subtitle final String subtitleText; /// The GFListTile's background color. Can be given [Color] or [GFColors] @@ -44,8 +44,8 @@ class GFListTile extends StatelessWidget { /// The title to display inside the [GFListTile]. see [Text] final Widget title; - /// The subTitle to display inside the [GFListTile]. see [Text] - final Widget subTitle; + /// The subtitle to display inside the [GFListTile]. see [Text] + final Widget subtitle; /// The description to display inside the [GFListTile]. see [Text] final Widget description; @@ -88,10 +88,11 @@ class GFListTile extends StatelessWidget { /// The color for the tile's [Material] when a pointer is hovering over it. final Color hoverColor; - /// {@macro flutter.widgets.Focus.focusNode} + /// Defines the keyboard focus for this widget. final FocusNode focusNode; - /// {@macro flutter.widgets.Focus.autofocus} + /// On true state it should focus itself if nothing else is already focused. + /// Defaults to false final bool autofocus; @override @@ -141,7 +142,7 @@ class GFListTile extends StatelessWidget { color: Colors.black54, ), ) - : subTitle ?? Container(), + : subtitle ?? Container(), description ?? Container() ], ), diff --git a/lib/components/radio/gf_radio.dart b/lib/components/radio/gf_radio.dart index 6bd558d5..4ff86546 100644 --- a/lib/components/radio/gf_radio.dart +++ b/lib/components/radio/gf_radio.dart @@ -14,8 +14,8 @@ class GFRadio extends StatefulWidget { this.size = GFSize.SMALL, this.type = GFRadioType.basic, this.radioColor = GFColors.SUCCESS, - this.activebgColor = GFColors.WHITE, - this.inactivebgColor = GFColors.WHITE, + this.activeBgColor = GFColors.WHITE, + this.inactiveBgColor = GFColors.WHITE, this.activeBorderColor = GFColors.DARK, this.inactiveBorderColor = GFColors.DARK, this.activeIcon = const Icon( @@ -24,7 +24,7 @@ class GFRadio extends StatefulWidget { color: GFColors.DARK, ), this.inactiveIcon, - this.custombgColor = GFColors.SUCCESS, + this.customBgColor = GFColors.SUCCESS, this.autofocus = false, this.focusNode, this.toggleable = false}) @@ -42,10 +42,10 @@ class GFRadio extends StatefulWidget { final Color radioColor; /// type of [Color] used to change the backgroundColor of the active radio button - final Color activebgColor; + final Color activeBgColor; /// type of [Color] used to change the backgroundColor of the inactive radio button - final Color inactivebgColor; + final Color inactiveBgColor; /// type of [Color] used to change the border color of the active radio button final Color activeBorderColor; @@ -63,7 +63,7 @@ class GFRadio extends StatefulWidget { final Widget inactiveIcon; /// type of [Color] used to change the background color of the custom active radio button only - final Color custombgColor; + final Color customBgColor; /// on true state this widget will be selected as the initial focus /// when no other node in its scope is currently focused @@ -116,7 +116,7 @@ class _GFRadioState extends State> with TickerProviderStateMixin { height: widget.size, width: widget.size, decoration: BoxDecoration( - color: selected ? widget.activebgColor : widget.inactivebgColor, + color: selected ? widget.activeBgColor : widget.inactiveBgColor, borderRadius: widget.type == GFRadioType.basic ? BorderRadius.circular(50) : widget.type == GFRadioType.square @@ -159,7 +159,7 @@ class _GFRadioState extends State> with TickerProviderStateMixin { decoration: BoxDecoration( borderRadius: const BorderRadius.all( Radius.circular(50)), - color: widget.custombgColor), + color: widget.customBgColor), ) ], ) diff --git a/lib/components/radio_list_tile/gf_radio_list_tile.dart b/lib/components/radio_list_tile/gf_radio_list_tile.dart index 4b712258..86c738d0 100644 --- a/lib/components/radio_list_tile/gf_radio_list_tile.dart +++ b/lib/components/radio_list_tile/gf_radio_list_tile.dart @@ -11,8 +11,8 @@ class GFRadioListTile extends StatelessWidget { this.size = GFSize.SMALL, this.type = GFRadioType.basic, this.radioColor = GFColors.SUCCESS, - this.activebgColor = GFColors.WHITE, - this.inactivebgColor = GFColors.WHITE, + this.activeBgColor = GFColors.WHITE, + this.inactiveBgColor = GFColors.WHITE, this.activeBorderColor = GFColors.DARK, this.inactiveBorderColor = GFColors.DARK, this.position = GFPosition.end, @@ -22,7 +22,7 @@ class GFRadioListTile extends StatelessWidget { color: GFColors.DARK, ), this.inactiveIcon, - this.custombgColor = GFColors.SUCCESS, + this.customBgColor = GFColors.SUCCESS, this.autofocus = false, this.focusNode, this.toggleable = false, @@ -31,7 +31,7 @@ class GFRadioListTile extends StatelessWidget { this.color, this.avatar, this.title, - this.subTitle, + this.subtitle, this.description, this.icon, this.padding = const EdgeInsets.all(8), @@ -63,8 +63,8 @@ class GFRadioListTile extends StatelessWidget { /// The title to display inside the [GFListTile]. see [Text] final Widget title; - /// The subTitle to display inside the [GFListTile]. see [Text] - final Widget subTitle; + /// The subtitle to display inside the [GFListTile]. see [Text] + final Widget subtitle; /// The description to display inside the [GFListTile]. see [Text] final Widget description; @@ -127,10 +127,10 @@ class GFRadioListTile extends StatelessWidget { final Color radioColor; /// type of [Color] used to change the backgroundColor of the active checkbox - final Color activebgColor; + final Color activeBgColor; /// type of [Color] used to change the backgroundColor of the inactive checkbox - final Color inactivebgColor; + final Color inactiveBgColor; /// type of [Color] used to change the border color of the active checkbox final Color activeBorderColor; @@ -148,7 +148,7 @@ class GFRadioListTile extends StatelessWidget { final Widget inactiveIcon; /// type of [Color] used to change the background color of the custom active checkbox only - final Color custombgColor; + final Color customBgColor; /// The value represented by this radio button. final T value; @@ -171,13 +171,13 @@ class GFRadioListTile extends StatelessWidget { size: size, type: type, radioColor: radioColor, - activebgColor: activebgColor, + activeBgColor: activeBgColor, inactiveIcon: inactiveIcon, activeBorderColor: activeBorderColor, - inactivebgColor: inactivebgColor, + inactiveBgColor: inactiveBgColor, activeIcon: activeIcon, inactiveBorderColor: inactiveBorderColor, - custombgColor: custombgColor, + customBgColor: customBgColor, toggleable: toggleable, ); return MergeSemantics( @@ -199,7 +199,7 @@ class GFRadioListTile extends StatelessWidget { selected: selected, avatar: position == GFPosition.start ? radio : avatar, titleText: titleText, - subTitle: subTitle, + subtitle: subtitle, subtitleText: subtitleText, description: description, color: color, diff --git a/lib/components/sticky_header/gf_sticky_header.dart b/lib/components/sticky_header/gf_sticky_header.dart index e0bbb6ad..c28a3b59 100644 --- a/lib/components/sticky_header/gf_sticky_header.dart +++ b/lib/components/sticky_header/gf_sticky_header.dart @@ -5,6 +5,7 @@ import 'package:flutter/widgets.dart'; import 'package:getwidget/getwidget.dart'; class GFStickyHeader extends MultiChildRenderObjectWidget { + /// GF Sticky Header will the stick header at top when content is being scrolled. /// Place this widget inside a [ListView], [GridView], [CustomScrollView], [SingleChildScrollView] or similar. GFStickyHeader( {Key key,