title: Semester Period
startDate: 2025-10-01
startTime: 08:00:00
endDate: 2026-03-29
endTime: 14:00:00
type: circle
color: #ff5722
trailColor: #f5f5f5
infoFormat: {percent}% complete - {remaining} until {end:LLL d, yyyy}
Okay, let's get your Ruby 2.6.10 updated! Since you're on a Mac, the best way to do this cleanly and manage your Ruby versions effectively is by using a Ruby version manager like rbenv.
Here's a step-by-step guide using rbenv:
1. Install rbenv and ruby-build (if you haven't already):
ruby-build is an rbenv plugin that simplifies the process of installing different Ruby versions.
- Open your Terminal.
- If you don't have Homebrew installed, install it first:
| #!/usr/bin/env bash | |
| rm -rf "${HOME}/Library/Caches/CocoaPods" | |
| rm -rf "`pwd`/Pods/" | |
| pod update |
| [ | |
| { | |
| "code": "AFG", | |
| "name": "Afghanistan", | |
| "eu": false | |
| }, | |
| { | |
| "code": "ALA", | |
| "name": "Åland Islands", | |
| "eu": false |
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
| void main() { | |
| for (int i = 0; i < 5; i++) { | |
| print('hello ${i + 1}'); | |
| } | |
| } |
the variable which the state inside StateFulBuilder is dependant on should be defined outside the builder method of StateFulBuilder. If it is defined inside, It will not have any affect.
A container should have either its color specified or its decoration specified. They cannot be mixed up. If you want to use both of them, the trick is to define the color inside BoxDecoration and pass it through the decoration field of your Container.