Published in


How to Create Dynamic Island and ActivityKit with Flutter

import ActivityKitimport Foundationstruct PizzaDeliveryAttributes: ActivityAttributes {   public typealias PizzaDeliveryStatus = ContentState   public struct ContentState: Codable, Hashable {      var driverName: String      var deliveryTimer: ClosedRange<Date>}   var numberOfPizzas: Int   var totalAmount: String   var orderNumber: String}
import SwiftUI@mainstruct PizzaDeliveryWidgets: WidgetBundle {   var body: some Widget {      widget()      PizzaDeliveryActivityWidget()   }}



At KBTG, we never cease to develop and innovate financial technologies on top of our “Customer First” mindset. We are the driving force behind KBank’s success as well as their navigator exploring the digital world beyond Thailand.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amorn Apichattanakul

Google Developer Expert for Flutter & Dart | Senior Flutter/iOS Software Engineer @ KBTG