Untitled

mail@pastecode.io avatar
unknown
dart
2 years ago
2.3 kB
59
Indexable
Never
    return SafeArea(
          maintainBottomViewPadding: true,
          child: Column(
            mainAxisAlignment: MainAxisAlignment.start,
            mainAxisSize: MainAxisSize.max,
            children: [
              Container(
                width: double.infinity,
                margin: EdgeInsets.symmetric(vertical: 10.h, horizontal: 10.w),
                child: Row(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                    SvgPicture.asset(
                      appIcon,
                      width: 80.w,
                      height: 40.h,
                    ),
                     profileWidgetGet(userController.getIsUserLogin(),context),
                  ],
                ),
              ),
              Expanded(
                        child: Center(
                          child: CustomScrollView(
                            slivers: [
                              SliverList(
                                delegate: SliverChildListDelegate(
                                  [
                                    SizedBox(
                                      height: 20.h,
                                    ),
                                    Stack(children: [
                                      InkWell(
                                        onTap: () {
                                          print("test");
                                          Get.toNamed(home);
                                        },
                                        child: RotatedBox(
                                          quarterTurns: 3,
                                          child: Text(
                                            "Projects",
                                            style: themeData.textTheme.headline1,
                                          ),
                                        ),
                                      ),
                                      const CustomAboutWidget() // center this vertically 
                                    ],),
                                  ],
      ),
    );
  }