@@ -363,7 +363,7 @@ class UserHeader extends StatelessWidget {
363363 crossAxisAlignment: CrossAxisAlignment .stretch,
364364 children: < Widget > [
365365 RichText (text: TextSpan (
366- style: Theme .of (context).textTheme.body1 ,
366+ style: Theme .of (context).textTheme.bodyText2 ,
367367 children: < TextSpan > [
368368 TextSpan (text: userName, style: const TextStyle (fontWeight: FontWeight .bold)),
369369 const TextSpan (text: ' shared a new ' ),
@@ -462,8 +462,8 @@ class ItemImageBox extends StatelessWidget {
462462 child: Column (
463463 crossAxisAlignment: CrossAxisAlignment .stretch,
464464 children: < Widget > [
465- Text ('Artisans of Southern India' , style: Theme .of (context).textTheme.body2 ),
466- Text ('Silk Spinners' , style: Theme .of (context).textTheme.body1 ),
465+ Text ('Artisans of Southern India' , style: Theme .of (context).textTheme.bodyText1 ),
466+ Text ('Silk Spinners' , style: Theme .of (context).textTheme.bodyText2 ),
467467 Text ('Sivaganga, Tamil Nadu' , style: Theme .of (context).textTheme.caption),
468468 ],
469469 ),
@@ -506,7 +506,7 @@ class ItemGalleryBox extends StatelessWidget {
506506 child: Container (
507507 color: Theme .of (context).primaryColor,
508508 child: Center (
509- child: Text (tabName, style: Theme .of (context).textTheme.headline .copyWith (color: Colors .white)),
509+ child: Text (tabName, style: Theme .of (context).textTheme.headline5 .copyWith (color: Colors .white)),
510510 ),
511511 ),
512512 ),
0 commit comments