buildTextViewItemStatic function

Widget buildTextViewItemStatic({
  1. required BuildContext context,
  2. required String text,
})

Build Text View for static dropdown

Implementation

Widget buildTextViewItemStatic(
    {required BuildContext context, required String text}) {
  return Text(
    text,
    style: CommonConfigurationDropDown.of(context).dropdownTextStyle,
    overflow: CommonConfigurationDropDown.of(context).overflow,
    maxLines: CommonConfigurationDropDown.of(context).maxLines,
  );
}