|
|
|
@ -1,6 +1,5 @@
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:hexcolor/hexcolor.dart';
|
|
|
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +25,7 @@ class CardWithBgWidget extends StatelessWidget {
|
|
|
|
Radius.circular(10.0),
|
|
|
|
Radius.circular(10.0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
border: Border.all(
|
|
|
|
border: Border.all(
|
|
|
|
color: hasBorder ? HexColor('#707070') : Colors.transparent,
|
|
|
|
color: hasBorder ? Color(0xFF707070) : Colors.transparent,
|
|
|
|
width: hasBorder ? 0.30 : 0),
|
|
|
|
width: hasBorder ? 0.30 : 0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Material(
|
|
|
|
child: Material(
|
|
|
|
@ -37,8 +36,7 @@ class CardWithBgWidget extends StatelessWidget {
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: bgColor ?? HexColor('#58434F'),
|
|
|
|
color: bgColor ?? Color(0xFF58434F),
|
|
|
|
|
|
|
|
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
topRight: Radius.circular(10),
|
|
|
|
topRight: Radius.circular(10),
|
|
|
|
bottomRight: Radius.circular(10),),),
|
|
|
|
bottomRight: Radius.circular(10),),),
|
|
|
|
@ -52,8 +50,7 @@ class CardWithBgWidget extends StatelessWidget {
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: bgColor ?? HexColor('#58434F'),
|
|
|
|
color: bgColor ?? Color(0xFF58434F),
|
|
|
|
|
|
|
|
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
borderRadius: BorderRadius.only(
|
|
|
|
topLeft: Radius.circular(10),
|
|
|
|
topLeft: Radius.circular(10),
|
|
|
|
bottomLeft: Radius.circular(10),),),
|
|
|
|
bottomLeft: Radius.circular(10),),),
|
|
|
|
|