Digia Academy
Digia StudioDiscordLinkedIn
  • Introduction
    • FAQs
  • What's New
    • 2024
      • March
  • DIGIA STUDIO INTRODUCTION
    • Dashboard
    • Builder Tool
      • Navigation Menu
      • Tool Bar
      • Pages and Widgets Panel
      • Canvas Area
      • Properties Panel
    • Creating a New Project
    • Creating new Pages
    • Working with Widget Tree
    • Build Your First App
      • Hello World
      • Bytes App
        • Onboarding
        • Defining API Calls
        • Courses
        • Articles
        • Viewing your App
    • SDK Integration
      • Insert Single Pages from Digia Studio
  • Actions
    • Call API Rest Action
    • Call Rest API
    • Pop Current
    • Pop to Route
    • openUrl
    • Go To Page
    • Post Message
    • Set Page State
    • Wait (delay)
    • Drawer
    • Toast
    • Open Dialog
    • Share
    • Copy to Clipboard
  • Operations
    • API Call
    • Operators
      • Json Operators
      • Logical Operators
      • Date Time Operators
      • Math Operators
      • String Operations
  • BUILDING UI
    • Widgets
      • Form Widgets
        • PinField
        • Calendar
        • Text Form Field
      • Base Widgets
        • Animated Button
        • Check Box
        • Video Player
        • Spacer
        • Stack
        • Wrap
        • Text
        • Avatar
        • Rich Text
        • Image
        • Button
        • Icon
        • Switch
        • Sized Box
        • HtmlView
        • Lottie Animation
        • Linear Progress Bar
        • YouTube Player
        • Circular Progress Bar
      • Layout Widgets
        • ListView
        • Web View
        • Future Builder
        • Conditional Builder
        • Stream Builder
        • GridView
        • Column
        • Row
        • Container
        • Expandable
        • Divider (Horizontal)
        • Divider (Vertical)
        • Carousel
      • Persistent Footers Widgets
        • NavigationBar Widget
      • Page Widgets
        • Stepper Widget
        • Scaffold Widget
        • Paginated Listview Widget
        • TabView
        • AppBar
      • Widget Commonalities
    • Event Handlers
  • Theme
    • Colors
    • Typography
  • DATA AND BACKEND
    • API Calls
      • Setting up API Calls
      • Create API Calls
      • Import API From Curl
  • DEPLOYING YOUR APP
    • Deployment
    • Release History
  • Settings
    • App Settings
    • App Assets
    • Media Assets
  • JARGON
    • Data integration
Powered by GitBook
On this page
  • 1. Building Onboarding page
  • 2. Customize Design
  1. DIGIA STUDIO INTRODUCTION
  2. Build Your First App
  3. Bytes App

Onboarding

PreviousBytes AppNextDefining API Calls

Last updated 1 year ago

1. Building Onboarding page

This page shows the first screen your users will see when opening your app.

Tip: In the template, we have already created this page so that you can directly start customizing widgets.

To build the Onboarding page:

  1. First, we need to from the Pages Panel. From the hamburger menu, set it as the first page by clicking on Make First Page.

  2. Navigate to the Widget Tree, and now you can start adding widgets to see the changes you make.

  3. For our design, all the elements are present in a Column order, i.e. all the elements are present in a vertical order. So, we need to start with a Column Widget. Click on the Add Widget button, and select Column from the menu.

  4. Inside the Column widget, we need to add our widgets to make our required design. First, add a Text Widget with the values "Bytes".

  1. Inside the Column widget only, add a Rich Text widget, with two Text Spans. The first one with the Text, "Stoppage for your " and the second with "Curiosity". We have to use Rich Text widget to define different properties for Text inside same widget. (Note that "Curiosity" has a different color from the rest of the text).

  1. Add a Text widget with the values "Discover Bytes, an intuitive and versatile Content Platform powered by Digia."

  1. Lastly, we need to add a Button with the Text "Get Started" which will be used to navigate to the Courses page.

  1. For Navigation, first we need to create a new page, "Courses" (Note: You are free to name it whatever you wish). Navigate to the Button widget, click on the Event Handlers button, and add an event with the Action: Go to Page and select the Courses page from the dropdown. Now, you can navigate from the Onboarding page to the Courses page.

2. Customize Design

In this step, we'll add add colors, spacing and make our app beautiful.

  1. Let's work widget by widget. First, to provide some spacing, select the Column widget, go to the Default Properties, and set Margin with values = Left: 16, Top: 16, Right: 16, Bottom:16

  2. Go to the first Text widget, and set Text Alignment as Center. Go to Text Span Style Properties, and select Font Token Dropdown -> Display Large. Also, set the Text Color as #FFFFFF to set it as white.

  1. To add a background to the Bytes Text, navigate to the Default properties on the Text widget, and set Widget Alignment -> Center. Inside Styling Properties, set Background Color as #04A24C (or any other color you like). Set the Width = 400 PX and Height = 45%.

  1. Set the Alignment as Center to perfectly align the Text in the middle. Set the Border Radius with the values = TL: 18, TR: 18, BL: 18, BR: 18, for setting the radius.

  1. Set the Text Span Style Properties, Font Token as "Headline Large", and set the text color for the second Text as #1C4494. Also, to provide some spacing between the Text Block, select Rich Text widget and go to the Default Properties. Set Margin with values = Top: 20.

  1. Select the third Text widget, inside the Text Span Style Properties, set the Font Token as Title Medium. To provide spacing, select Default Properties, and add Margin with the values = Top:20.

  1. To customize the Button Widget, inside the Widget Properties, Text, go to the Text Span Style Properties, and Font Token as Title Medium. Also, set the Text Color as #FFFFFF. Go the the Default Properties, and set Widget Alignment as Top Left. Inside the Styling Properties, set the Padding with values = Left:10, Top:10, Right:10, Bottom:10, and Margin with values = Top:30. Set the Background Color as #04A24C, and set the Border Radius with the values = TL: 25, TR: 25, BL: 25, BR: 25, for setting the radius.

Before proceeding to the Courses page, we need to first define our API Calls. This is explained in the next page.

create a new page