yourWidget method

  1. @override
Widget yourWidget(
  1. BuildContext context,
  2. DividerModel? value
)
override

Implementation

@override
Widget yourWidget(BuildContext context, DividerModel? value) {
  return Divider(
    height: value!.height ?? 0,
    thickness: value.thickness ?? 0,
    indent: value.indent ?? 0,
    endIndent: value.endIndent ?? 0,
    color: RgbHelper.color(rgbo: value.color),
  );
}