ViewAllMediaPageStyle constructor
const
ViewAllMediaPageStyle({
- AppBarTheme appBarTheme = const AppBarTheme(color: Colors.white, shadowColor: Colors.white, surfaceTintColor: Colors.white, titleTextStyle: TextStyle(fontWeight: FontWeight.bold, color: Color(0xff181818), fontSize: 20), iconTheme: IconThemeData(color: Color(0xff181818)), actionsIconTheme: IconThemeData(color: Color(0xff181818))),
- TabBarTheme tabBarTheme = const TabBarTheme(indicatorColor: AppColor.primaryColor, labelColor: AppColor.primaryColor, unselectedLabelColor: Color(0xff181818), indicatorSize: TabBarIndicatorSize.tab),
- TabItemStyle tabItemStyle = const TabItemStyle(),
- TextStyle noDataTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: Color(0xff767676), fontSize: 14),
- GroupedMediaItemStyle groupedMediaItem = const GroupedMediaItemStyle(),
Implementation
const ViewAllMediaPageStyle(
{this.appBarTheme = const AppBarTheme(
color: Colors.white,
shadowColor: Colors.white,
surfaceTintColor: Colors.white,
titleTextStyle: TextStyle(
fontWeight: FontWeight.bold,
color: Color(0xff181818),
fontSize: 20),
iconTheme: IconThemeData(color: Color(0xff181818)),
actionsIconTheme: IconThemeData(color: Color(0xff181818)),
),
this.tabBarTheme = const TabBarTheme(
indicatorColor: AppColor.primaryColor,
labelColor: AppColor.primaryColor,
unselectedLabelColor: Color(0xff181818),
indicatorSize: TabBarIndicatorSize.tab),
this.tabItemStyle = const TabItemStyle(),
this.noDataTextStyle = const TextStyle(
fontWeight: FontWeight.w600, color: Color(0xff767676), fontSize: 14),
this.groupedMediaItem = const GroupedMediaItemStyle()});