discontinuedPackage anywidget has been discontinued.

FlutterColor class

Implemented types
Annotations

Constructors

FlutterColor.fromARGB({required int a, required int r, required int g, required int b})
factory
FlutterColor.fromJson(Map<String, dynamic> json)
factory
FlutterColor.fromRGBO({required int r, required int g, required int b, required double opacity})
factory

Properties

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

Methods

map<TResult extends Object?>({required TResult fromARGB(_FlutterColorFromARGB value), required TResult fromRGBO(_FlutterColorFromRBGO value)}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlutter(AnyWidgetContext context) → Color
override
toString() → String
A string representation of this object.
inherited

Operators

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