2023-05-26 21:21:16 +00:00
|
|
|
/*
|
|
|
|
* This file is part of Stack Wallet.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2023 Cypher Stack
|
|
|
|
* All Rights Reserved.
|
|
|
|
* The code is distributed under GPLv3 license, see LICENSE file for details.
|
|
|
|
* Generated by Cypher Stack on 2023-05-26
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-04-21 15:57:20 +00:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
extension BoxShadowExt on BoxShadow {
|
2023-04-24 14:36:12 +00:00
|
|
|
static BoxShadow fromJson(Map<String, dynamic> json) => BoxShadow(
|
|
|
|
color: Color(int.parse(json["color"] as String)),
|
|
|
|
spreadRadius: json["spread_radius"] as double,
|
|
|
|
blurRadius: json["blur_radius"] as double,
|
|
|
|
);
|
2023-04-21 15:57:20 +00:00
|
|
|
}
|