Answers for "flutter banner with icon and text"

0

flutter banner with icon and text

Container(
      padding: EdgeInsets.all(0),
      margin: new EdgeInsets.all(0),
      color: Colors.green[400],
      child: Padding(
        padding: const EdgeInsets.all(15.0),
        child: Row(
          children: [
            Padding(
              padding: const EdgeInsets.only(right: 8.0),
              child: CircleAvatar(
                backgroundColor: Colors.white,
                radius: 30,
                child: Icon(Icons.add),
              ),
            ),
            Container(
              child: Column(
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  Text(
                    element.title,
                    style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold, color: Colors.white),
                  ),
                  Text(
                    element.subTitle,
                    style: TextStyle(fontSize: 15, color: Colors.white),
                  ),
                ],
              ),
            )
          ],
        ),
      ),
    );
Posted by: Guest on August-18-2020

Code answers related to "flutter banner with icon and text"

Code answers related to "Dart"

Browse Popular Code Answers by Language