skip to Main Content

CSS local svg icon color

I am trying to setup some custom svg icons like this <i class="my-svg-icon"></i> I have the svg displayed but cannot adjust the color .my-svg-icon { height: 25px; width: 25px; color: red !important; content: url('/mysvg.svg'); } I have set the stroke…

VIEW QUESTION

Flutter – Change the icon of BackButon() in my appbar

appBar: AppBar( leading: BackButton( onPressed: () { Get.off(exercisePage()); }, ), shape: RoundedRectangleBorder( borderRadius: BorderRadius.only( bottomLeft: Radius.circular(30), bottomRight: Radius.circular(30)), ), automaticallyImplyLeading: false, title: Padding( padding: const EdgeInsets.only(left: 25), child: Text( 'Regular exercise', style: TextStyle( fontFamily: 'FontMain', fontSize: 22, color: Colors.indigo), ),…

VIEW QUESTION
Back To Top
Search