|
|
@ -116,24 +116,24 @@ class PostComponent extends StatelessWidget {
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Flexible(
|
|
|
|
Flexible(
|
|
|
|
flex: 6,
|
|
|
|
flex: 8,
|
|
|
|
child: TextScroll(
|
|
|
|
child: TextScroll(
|
|
|
|
"BOOBA",
|
|
|
|
"BOOBA",
|
|
|
|
style: GoogleFonts.plusJakartaSans(
|
|
|
|
style: GoogleFonts.plusJakartaSans(
|
|
|
|
height: 1,
|
|
|
|
height: 1,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontSize: 26.sp),
|
|
|
|
fontSize: 26.h),
|
|
|
|
mode: TextScrollMode.endless,
|
|
|
|
mode: TextScrollMode.endless,
|
|
|
|
pauseBetween: Duration(milliseconds: 500),
|
|
|
|
pauseBetween: Duration(milliseconds: 500),
|
|
|
|
velocity: Velocity(pixelsPerSecond: Offset(20, 0)),
|
|
|
|
velocity: Velocity(pixelsPerSecond: Offset(20, 0)),
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(bottom: 10, right: 7, left: 7),
|
|
|
|
padding: EdgeInsets.only(bottom: 10.h, right: 5.w, left: 5.w),
|
|
|
|
child: ClipOval(
|
|
|
|
child: ClipOval(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
width: 5.sp,
|
|
|
|
width: 5.h,
|
|
|
|
height: 5.sp,
|
|
|
|
height: 5.h,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -148,7 +148,7 @@ class PostComponent extends StatelessWidget {
|
|
|
|
height: 1,
|
|
|
|
height: 1,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
fontWeight: FontWeight.w300,
|
|
|
|
fontWeight: FontWeight.w300,
|
|
|
|
fontSize: 16.sp),
|
|
|
|
fontSize: 16.h),
|
|
|
|
mode: TextScrollMode.endless,
|
|
|
|
mode: TextScrollMode.endless,
|
|
|
|
velocity: Velocity(pixelsPerSecond: Offset(50, 20)),
|
|
|
|
velocity: Velocity(pixelsPerSecond: Offset(50, 20)),
|
|
|
|
pauseBetween: Duration(milliseconds: 500),
|
|
|
|
pauseBetween: Duration(milliseconds: 500),
|
|
|
@ -160,7 +160,7 @@ class PostComponent extends StatelessWidget {
|
|
|
|
style: GoogleFonts.plusJakartaSans(
|
|
|
|
style: GoogleFonts.plusJakartaSans(
|
|
|
|
color: Colors.white.withOpacity(0.5),
|
|
|
|
color: Colors.white.withOpacity(0.5),
|
|
|
|
fontWeight: FontWeight.w300,
|
|
|
|
fontWeight: FontWeight.w300,
|
|
|
|
fontSize: 16.sp),
|
|
|
|
fontSize: 16.h),
|
|
|
|
textAlign: TextAlign.end,
|
|
|
|
textAlign: TextAlign.end,
|
|
|
|
maxFontSize: 20,
|
|
|
|
maxFontSize: 20,
|
|
|
|
),
|
|
|
|
),
|
|
|
|