Arqam Hussain
Arqam Hussain

Reputation: 1

How to show first page as half in pageView builder flutter?

I am using PageView.builder for making custom calendar. The problem is that page items are starting from the center.

this is the app image

Note : PageView.builder is used where i am using reverse property. Also items are starting from the center but not from the right as page is starting from center.

Upvotes: 0

Views: 207

Answers (1)

Hammad Ali Shah
Hammad Ali Shah

Reputation: 21

If you are building the calendar date widgets using Row, you can use Row's mainAxisAlignment property like this

Row(
     mainAxisAlignment: MainAxisAlignment.end,
     children: [
     
         ],
  ),

Upvotes: 1

Related Questions