FileSaverStyle class
A custom style for FileSaver.
Constructors
-
FileSaverStyle({FileSaverText? text, List<
FileSaverIcon> icons = const [], Color primaryColor = Colors.blue, Color secondaryColor = Colors.white, TextStyle primaryTextStyle = const TextStyle(color: Colors.white, fontSize: 20, fontWeight: FontWeight.w600), TextStyle secondaryTextStyle = const TextStyle(color: Colors.black87, fontWeight: FontWeight.bold)}) - Contains optional Color, TextStyle, FileSaverIcon and FileSaverText.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
icons
→ List<
FileSaverIcon> -
An optional list of custom icon both for file and directory.
final
- primaryColor → Color
-
An optional Color. Default value is Colors.blue.
final
- primaryTextStyle → TextStyle
-
An optional TextStyle. Mostly uses as header text style.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryColor → Color
-
An optional Color. Mostly uses as background color.
final
- secondaryTextStyle → TextStyle
-
An optional TextStyle. Mostly uses as list of FileSystemEntity's name text style.
final
- text → FileSaverText
-
Customable displayed text in entire FileSaver.
final
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