initQuizPAckageArtist function

void initQuizPAckageArtist()

Implementation

void initQuizPAckageArtist() {
  Artist().labelBottomSpace = 6;
  Artist().innerInputTextStyle = const TextStyle(color: Colors.black, fontSize: 14);
  Artist().labelTextStyle = const TextStyle(color: Colors.black, fontSize: 14);
  Artist().defaultBorderRadius = BorderRadius.circular(3);
  Artist().maxInputWidth = 900;
  Artist().horizontalLabelWidth = 600;
  Artist().inputDecoration = InputDecoration(
    //contentPadding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 10.0),
    isDense: true,
    floatingLabelBehavior: FloatingLabelBehavior.never,
    filled: true,
    fillColor: Colors.white,
    errorStyle: const TextStyle(
      fontSize: 12,
      color: Colors.red,
    ),
    enabledBorder: const OutlineInputBorder(
      borderSide: BorderSide(
        width: 1,
        color: Color.fromARGB(255, 207, 207, 207),
      ),
    ),
    errorBorder: const OutlineInputBorder(
      borderSide: BorderSide(
        width: 1,
        color: Colors.red,
      ),
    ),
    focusedErrorBorder: const OutlineInputBorder(
      borderSide: BorderSide(
        width: 1,
        color: Colors.red,
      ),
    ),
    focusedBorder: const OutlineInputBorder(
      borderSide: BorderSide(
        width: 1,
        color: Colors.black,
      ),
    ),
    disabledBorder: const OutlineInputBorder(
      borderSide: BorderSide(width: 1, color: Colors.grey),
    ),
    hintStyle: TextStyle(color: Colors.black.withOpacity(0.3)),
    suffixStyle: TextStyle(color: Colors.black.withOpacity(0.7)),
  );
}