BoxPresets extension
Factory methods for common box styles.
- on
Static Methods
-
ascii(
String content, {String? title}) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates an ASCII-compatible box. -
doubleBorder(
String title, String content) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates a double-bordered box. -
error(
String title, String content) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates an error-styled box. -
info(
String title, String content) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates an info-styled box. -
simple(
String content) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates a simple box without title. -
success(
String title, String content) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates a success-styled box. -
warning(
String title, String content) → BoxBuilder -
Available on BoxBuilder, provided by the BoxPresets extension
Creates a warning-styled box.