inputDecorationTheme property

InputDecorationTheme get inputDecorationTheme

Implementation

InputDecorationTheme get inputDecorationTheme => InputDecorationTheme(
      enabledBorder: OutlineInputBorder(
        borderRadius: const BorderRadius.all(
          Radius.circular(
            0,
          ),
        ),
        borderSide: BorderSide(
          color: colors.davyGray,
        ),
      ),
      focusedBorder: OutlineInputBorder(
        borderRadius: const BorderRadius.all(
          Radius.circular(
            0,
          ),
        ),
        borderSide: BorderSide(
          color: colors.burningOrange,
          width: 2,
        ),
      ),
      disabledBorder: OutlineInputBorder(
        borderRadius: const BorderRadius.all(
          Radius.circular(
            0,
          ),
        ),
        borderSide: BorderSide(color: colors.cloudGray, width: 1),
      ),
      contentPadding: const EdgeInsets.all(12),
      isDense: true,
      isCollapsed: true,
      floatingLabelBehavior: FloatingLabelBehavior.never,
      errorBorder: OutlineInputBorder(
        borderRadius: const BorderRadius.all(
          Radius.circular(
            0,
          ),
        ),
        borderSide: BorderSide(
          color: colors.lavaRed,
        ),
      ),
      focusedErrorBorder: OutlineInputBorder(
        borderRadius: const BorderRadius.all(
          Radius.circular(
            0,
          ),
        ),
        borderSide: BorderSide(color: colors.lavaRed, width: 2),
      ),
    );