CantonMethods class

Functions to make development easier

Constructors

CantonMethods.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addDotsToString(String string, int index) String
Adds '...' to the end of a string
alternateCanvasColor(BuildContext context, {int? index, List<int?>? targetIndexes}) Color
alternateCanvasColorType2(BuildContext context, {int? index, List<int?>? targetIndexes}) Color
alternateCanvasColorType3(BuildContext context, {int? index, List<int?>? targetIndexes}) Color
defocusTextfield(BuildContext context) → void
Defocuses a textfield
removeAllHtmlTags(String htmlText) String
separateNumberByThreeDigits({required int source, bool? commas}) String
viewTransition(BuildContext context, Widget view, {void onNavigateView()?}) Future<void>
Default transition for switching views